Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00537/0.005371, allocations: 99.64 kB / 15.73 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 190.8 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7865/0.7865, allocations: 132.2 MB / 422.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.89 kB / 0.5809 GB, free: 8.086 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4352, allocations: 80.21 MB / 0.6592 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.07192/0.5071, allocations: 75.16 MB / 0.7326 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02383/0.531, allocations: 15.15 MB / 0.7474 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003068/0.5341, allocations: 67.62 kB / 0.7474 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002727/0.5369, allocations: 0.819 MB / 0.7482 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007473/0.5444, allocations: 2.597 MB / 0.7508 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003909/0.5483, allocations: 1.389 MB / 0.7521 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006416/0.5548, allocations: 4.403 MB / 0.7564 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002509/0.5573, allocations: 1.445 MB / 0.7579 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004427/0.5617, allocations: 1.675 MB / 0.7595 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002666/0.5644, allocations: 1.221 MB / 0.7607 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004961/0.5649, allocations: 164 kB / 0.7608 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003745/0.5687, allocations: 1.404 MB / 0.7622 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006366/0.5693, allocations: 398.6 kB / 0.7626 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001868/0.5712, allocations: 0.906 MB / 0.7635 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005939/0.5772, allocations: 2.879 MB / 0.7663 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.5772, allocations: 0 / 0.7663 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5772, allocations: 0 / 0.7663 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.229e-05/0.5773, allocations: 0 / 0.7663 GB, free: 8.207 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005174/0.5825, allocations: 2.099 MB / 0.7683 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.5825, allocations: 8.031 kB / 0.7683 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003063/0.5828, allocations: 148.1 kB / 0.7685 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009901/0.5838, allocations: 230.5 kB / 0.7687 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003414/0.5873, allocations: 1.532 MB / 0.7702 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.359e-05/0.5874, allocations: 78 kB / 0.7703 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.5876, allocations: 100 kB / 0.7704 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.5898, allocations: 1.096 MB / 0.7714 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.5898, allocations: 0 / 0.7714 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.59, allocations: 40 kB / 0.7715 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.04e-05/0.59, allocations: 32 kB / 0.7715 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.592, allocations: 0.8977 MB / 0.7724 GB, free: 1.793 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006997/0.599, allocations: 4.915 MB / 0.7772 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.6005, allocations: 0.6097 MB / 0.7778 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006939/0.6012, allocations: 349.7 kB / 0.7781 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007275/0.6019, allocations: 0.8316 MB / 0.7789 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.602, allocations: 39.12 kB / 0.779 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=61): time 2.495e-06/0.602, allocations: 0 / 0.779 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61): time 0.006988/0.609, allocations: 1.689 MB / 0.7806 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.6091, allocations: 59.97 kB / 0.7807 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/0.6111, allocations: 1.234 MB / 0.7819 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.898e-05/0.6112, allocations: 37.7 kB / 0.7819 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005511/0.6118, allocations: 0.6104 MB / 0.7825 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.612, allocations: 212.9 kB / 0.7827 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.6123, allocations: 162.4 kB / 0.7829 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6124, allocations: 333.9 kB / 0.7832 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007026/0.6131, allocations: 292.7 kB / 0.7835 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008559/0.614, allocations: 0.489 MB / 0.7839 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.6154, allocations: 0.709 MB / 0.7846 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.6154, allocations: 0 / 0.7846 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004654/0.6201, allocations: 1.265 MB / 0.7859 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.6201, allocations: 8 kB / 0.7859 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.6201, allocations: 4.375 kB / 0.7859 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005904/0.6207, allocations: 148.5 kB / 0.786 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/0.6213, allocations: 159.8 kB / 0.7862 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000871/0.6222, allocations: 0.6967 MB / 0.7869 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.6233, allocations: 119 kB / 0.787 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.01e-05/0.6234, allocations: 35.98 kB / 0.787 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001061/0.6245, allocations: 0.5495 MB / 0.7875 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007894/0.6253, allocations: 0.4967 MB / 0.788 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001324/0.6266, allocations: 0.705 MB / 0.7887 GB, free: 216 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.905e-06/0.6266, allocations: 0 / 0.7887 GB, free: 216 kB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004499/0.6311, allocations: 1.261 MB / 0.7899 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.6312, allocations: 21.73 kB / 0.79 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.6312, allocations: 4 kB / 0.79 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005024/0.6317, allocations: 137.1 kB / 0.7901 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006045/0.6323, allocations: 159.8 kB / 0.7902 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008037/0.6331, allocations: 0.7042 MB / 0.7909 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.6342, allocations: 107.3 kB / 0.791 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.647e-05/0.6343, allocations: 32 kB / 0.7911 GB, free: 13.76 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002546/0.6345, allocations: 238 kB / 0.7913 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/0.6349, allocations: 134.4 kB / 0.7914 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004517/0.6394, allocations: 1.256 MB / 0.7927 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.6394, allocations: 8 kB / 0.7927 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6395, allocations: 0 / 0.7927 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003819/0.6433, allocations: 1.107 MB / 0.7937 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006521/0.6498, allocations: 2.618 MB / 0.7963 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.6499, allocations: 4 kB / 0.7963 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004659/0.6503, allocations: 111.8 kB / 0.7964 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004748/0.6508, allocations: 133 kB / 0.7965 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/0.6509, allocations: 19.98 kB / 0.7966 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004839/0.6557, allocations: 2.629 MB / 0.7991 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.6557, allocations: 7.938 kB / 0.7991 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005211/0.661, allocations: 1.691 MB / 0.8008 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007336/0.6617, allocations: 315.2 kB / 0.8011 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003181/0.662, allocations: 20 kB / 0.8011 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009215/0.663, allocations: 51.94 kB / 0.8011 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.6631, allocations: 64.23 kB / 0.8012 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.225e-05/0.6632, allocations: 31.98 kB / 0.8012 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001562/0.6648, allocations: 0.8857 MB / 0.8021 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6648, allocations: 0 / 0.8021 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002425/0.6672, allocations: 0.7175 MB / 0.8028 GB, free: 1.316 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006467/0.6737, allocations: 2.602 MB / 0.8053 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002632/0.6764, allocations: 1.121 MB / 0.8064 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.6764, allocations: 0 / 0.8064 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001419/0.6778, allocations: 0.5526 MB / 0.807 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003818/0.6816, allocations: 0.8027 MB / 0.8078 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02161/0.7033, allocations: 9.82 MB / 0.8174 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008724/0.7042, allocations: 1.179 MB / 0.8185 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00129/0.7055, allocations: 311 kB / 0.8188 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007818/0.7063, allocations: 0.511 MB / 0.8193 GB, free: 64 kB / 0.6387 GB Notification: Performance of SimCode: time 1.012e-06/0.7063, allocations: 4 kB / 0.8193 GB, free: 60 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08003/0.7863, allocations: 43.37 MB / 0.8617 GB, free: 5.191 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.23, allocations: 7.609 kB / 0.8617 GB, free: 5.184 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_y.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)