Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",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.005143/0.005143, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001158/0.001158, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9327/0.9327, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001363, allocations: 71.88 kB / 0.5852 GB, free: 3.812 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4461/0.4475, allocations: 80.9 MB / 0.6642 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.005684/0.4532, allocations: 4.439 MB / 0.6685 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002252/0.4555, allocations: 2.692 MB / 0.6711 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.789e-05/0.4556, allocations: 1.406 kB / 0.6711 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.4559, allocations: 47.2 kB / 0.6712 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.4562, allocations: 95.16 kB / 0.6713 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.4573, allocations: 498.8 kB / 0.6718 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.4576, allocations: 249.1 kB / 0.672 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.241e-05/0.4576, allocations: 8.188 kB / 0.672 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009692/0.4586, allocations: 413.5 kB / 0.6724 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.4588, allocations: 88.36 kB / 0.6725 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.4588, allocations: 7.625 kB / 0.6725 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009463/0.4597, allocations: 0.4883 MB / 0.673 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.4598, allocations: 36.95 kB / 0.673 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.892e-05/0.4599, allocations: 79.62 kB / 0.6731 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.4605, allocations: 349.8 kB / 0.6734 GB, free: 136 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4605, allocations: 0 / 0.6734 GB, free: 136 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4605, allocations: 4 kB / 0.6734 GB, free: 132 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.4605, allocations: 0 / 0.6734 GB, free: 132 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007912/0.4613, allocations: 0.4969 MB / 0.6739 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.4613, allocations: 9.281 kB / 0.6739 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.327e-05/0.4614, allocations: 57.11 kB / 0.674 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.4616, allocations: 21.69 kB / 0.674 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.4619, allocations: 213 kB / 0.6742 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.4619, allocations: 11.3 kB / 0.6742 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.462, allocations: 18.19 kB / 0.6742 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.4624, allocations: 248.8 kB / 0.6744 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.4624, allocations: 3.938 kB / 0.6745 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.4625, allocations: 7.875 kB / 0.6745 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.4625, allocations: 4.844 kB / 0.6745 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005326/0.463, allocations: 433.4 kB / 0.6749 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.4641, allocations: 1.008 MB / 0.6759 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.4644, allocations: 161.3 kB / 0.676 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.4646, allocations: 67.34 kB / 0.6761 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00146/0.466, allocations: 1.822 MB / 0.6779 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.4661, allocations: 40.81 kB / 0.6779 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.4661, allocations: 0 / 0.6779 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0004054/0.4665, allocations: 147.2 kB / 0.678 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.4666, allocations: 57.69 kB / 0.6781 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.4668, allocations: 164.2 kB / 0.6783 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.4668, allocations: 26.73 kB / 0.6783 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.4669, allocations: 144 kB / 0.6784 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.467, allocations: 58.44 kB / 0.6785 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-05/0.467, allocations: 60.17 kB / 0.6785 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4672, allocations: 322.2 kB / 0.6788 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.907e-05/0.4673, allocations: 37.41 kB / 0.6789 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.4674, allocations: 139.4 kB / 0.679 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.4677, allocations: 206.4 kB / 0.6792 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.4677, allocations: 1.156 kB / 0.6792 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003154/0.468, allocations: 209.5 kB / 0.6794 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.468, allocations: 9.25 kB / 0.6794 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.468, allocations: 7.656 kB / 0.6794 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.4681, allocations: 10.88 kB / 0.6794 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.4682, allocations: 52.52 kB / 0.6795 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.4683, allocations: 12.61 kB / 0.6795 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.4684, allocations: 27.62 kB / 0.6795 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.4684, allocations: 11.03 kB / 0.6795 GB, free: 10.31 MB / 0.5137 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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.4685, allocations: 128.9 kB / 0.6796 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.4686, allocations: 15.97 kB / 0.6797 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.4689, allocations: 160.7 kB / 0.6798 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.4689, allocations: 10.59 kB / 0.6798 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4689, allocations: 0 / 0.6798 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.4689, allocations: 0 / 0.6798 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.4692, allocations: 217.2 kB / 0.68 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.4692, allocations: 1.406 kB / 0.68 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.874e-05/0.4693, allocations: 26.11 kB / 0.6801 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4693, allocations: 1.156 kB / 0.6801 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.4693, allocations: 6.031 kB / 0.6801 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.4693, allocations: 4.969 kB / 0.6801 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4693, allocations: 7.984 kB / 0.6801 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.4696, allocations: 216 kB / 0.6803 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.033e-05/0.4697, allocations: 101.5 kB / 0.6804 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.4697, allocations: 5.438 kB / 0.6804 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.4699, allocations: 23.95 kB / 0.6804 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.47, allocations: 9.297 kB / 0.6804 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.47, allocations: 13.83 kB / 0.6804 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.498e-05/0.4701, allocations: 123.2 kB / 0.6806 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4701, allocations: 0 / 0.6806 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000407/0.4705, allocations: 81.03 kB / 0.6806 GB, free: 9.379 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007188/0.4713, allocations: 0.8374 MB / 0.6814 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.4715, allocations: 113.5 kB / 0.6816 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.4715, allocations: 0 / 0.6816 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.377e-05/0.4716, allocations: 45.27 kB / 0.6816 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.472, allocations: 57.14 kB / 0.6817 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.4743, allocations: 2.029 MB / 0.6836 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.4746, allocations: 0.7113 MB / 0.6843 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001526/0.4748, allocations: 53.8 kB / 0.6844 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.358e-05/0.4749, allocations: 44.64 kB / 0.6844 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4749, allocations: 0 / 0.6844 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.4959, allocations: 5.218 MB / 0.6895 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.345/7.841, allocations: 14.41 kB / 0.6895 GB, free: 3.305 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)