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.005744/0.005745, allocations: 100.9 kB / 15.73 MB, free: 6.473 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.001313/0.001313, allocations: 195 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.316/1.316, 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-master/package.mo): time 0.9149/0.9149, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.89 kB / 0.5852 GB, free: 3.836 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4323, allocations: 80.91 MB / 0.6642 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.005396/0.4378, allocations: 4.433 MB / 0.6685 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002317/0.4401, allocations: 2.696 MB / 0.6711 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.657e-05/0.4403, allocations: 1.188 kB / 0.6711 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.4406, allocations: 43.69 kB / 0.6712 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.4409, allocations: 100.8 kB / 0.6713 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.442, allocations: 0.4994 MB / 0.6718 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.4423, allocations: 241.6 kB / 0.672 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.302e-05/0.4424, allocations: 12.52 kB / 0.672 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000894/0.4433, allocations: 408.8 kB / 0.6724 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.4434, allocations: 96.75 kB / 0.6725 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.4434, allocations: 7.125 kB / 0.6725 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009137/0.4443, allocations: 493 kB / 0.673 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.4444, allocations: 37.23 kB / 0.673 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.733e-05/0.4445, allocations: 79.16 kB / 0.6731 GB, free: 324 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005345/0.445, allocations: 357.6 kB / 0.6734 GB, free: 124 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.445, allocations: 0 / 0.6734 GB, free: 124 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4451, allocations: 0 / 0.6734 GB, free: 124 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.4451, allocations: 0 / 0.6734 GB, free: 124 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.0007132/0.4458, allocations: 0.5007 MB / 0.6739 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.4458, allocations: 10.03 kB / 0.6739 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.4459, allocations: 48.73 kB / 0.674 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.446, allocations: 25.64 kB / 0.674 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.4463, allocations: 212.2 kB / 0.6742 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.4463, allocations: 11.39 kB / 0.6742 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.4464, allocations: 14.56 kB / 0.6742 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.4468, allocations: 252.8 kB / 0.6745 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4468, allocations: 3.938 kB / 0.6745 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.4469, allocations: 11.25 kB / 0.6745 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/0.4469, allocations: 9.266 kB / 0.6745 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005508/0.4474, allocations: 433.3 kB / 0.6749 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.4486, allocations: 1.001 MB / 0.6759 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.4489, allocations: 155.4 kB / 0.676 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.449, allocations: 70.28 kB / 0.6761 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/0.4505, allocations: 1.823 MB / 0.6779 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.4505, allocations: 36.22 kB / 0.6779 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.4505, allocations: 0 / 0.6779 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003891/0.4509, allocations: 156 kB / 0.6781 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.451, allocations: 52.53 kB / 0.6781 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.4511, allocations: 164.8 kB / 0.6783 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.4512, allocations: 30.94 kB / 0.6783 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.4512, allocations: 138.9 kB / 0.6784 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.4513, allocations: 58.56 kB / 0.6785 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.934e-05/0.4514, allocations: 56.92 kB / 0.6785 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.4515, allocations: 322.4 kB / 0.6788 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.59e-05/0.4515, allocations: 41 kB / 0.6789 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.4517, allocations: 138.5 kB / 0.679 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.4519, allocations: 203.2 kB / 0.6792 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4519, allocations: 4 kB / 0.6792 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003117/0.4522, allocations: 212.1 kB / 0.6794 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.4523, allocations: 7 kB / 0.6794 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.4523, allocations: 7.969 kB / 0.6794 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.4523, allocations: 9.406 kB / 0.6794 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.4525, allocations: 56.41 kB / 0.6795 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.4525, allocations: 5.562 kB / 0.6795 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.4526, allocations: 27.38 kB / 0.6795 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.4527, allocations: 14.78 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 9.76e-05/0.4528, allocations: 128.5 kB / 0.6797 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.4528, allocations: 17.38 kB / 0.6797 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.4531, allocations: 163.3 kB / 0.6798 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.4531, allocations: 6.875 kB / 0.6798 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4531, allocations: 8 kB / 0.6798 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4532, allocations: 0 / 0.6798 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.4534, allocations: 221.4 kB / 0.6801 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.4534, allocations: 0 / 0.6801 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.232e-05/0.4535, allocations: 23.28 kB / 0.6801 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.4535, allocations: 1.156 kB / 0.6801 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.4536, allocations: 6.547 kB / 0.6801 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.4536, allocations: 7.875 kB / 0.6801 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4536, allocations: 1.375 kB / 0.6801 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.4538, allocations: 220.4 kB / 0.6803 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.663e-05/0.454, allocations: 100.9 kB / 0.6804 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.454, allocations: 5.562 kB / 0.6804 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.4542, allocations: 19.81 kB / 0.6804 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.4542, allocations: 9.219 kB / 0.6804 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.4542, allocations: 9.234 kB / 0.6804 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.462e-05/0.4543, allocations: 124.4 kB / 0.6806 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4544, allocations: 0 / 0.6806 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004448/0.4548, allocations: 81.53 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.0007549/0.4556, allocations: 0.832 MB / 0.6815 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.4558, allocations: 120.7 kB / 0.6816 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4558, allocations: 0 / 0.6816 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.822e-05/0.4559, allocations: 44.42 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.0004054/0.4563, allocations: 64.78 kB / 0.6817 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.4584, allocations: 2.021 MB / 0.6836 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.4587, allocations: 0.712 MB / 0.6843 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001769/0.4589, allocations: 53.75 kB / 0.6844 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.459, allocations: 49.36 kB / 0.6844 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.459, allocations: 0 / 0.6844 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.4817, allocations: 5.163 MB / 0.6895 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/7.906, allocations: 10.41 kB / 0.6895 GB, free: 3.336 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)