Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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: translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006966/0.006966, allocations: 101 kB / 15.73 MB, free: 6.043 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.001172/0.001172, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8306/0.8306, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 55.91 kB / 0.5813 GB, free: 7.582 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4565/0.4578, allocations: 80.22 MB / 0.6596 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002255/0.4601, allocations: 1.258 MB / 0.6609 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003407/0.4636, allocations: 2.926 MB / 0.6637 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.4636, allocations: 0 / 0.6637 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.4636, allocations: 5.141 kB / 0.6637 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.198e-05/0.4637, allocations: 3.938 kB / 0.6637 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.4642, allocations: 105.2 kB / 0.6638 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.494e-05/0.4643, allocations: 38.91 kB / 0.6639 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.4644, allocations: 6.141 kB / 0.6639 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004936/0.4649, allocations: 158.4 kB / 0.664 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.582e-05/0.465, allocations: 22.16 kB / 0.6641 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.465, allocations: 1.875 kB / 0.6641 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.4651, allocations: 56.45 kB / 0.6641 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.4652, allocations: 13.34 kB / 0.6641 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.194e-05/0.4652, allocations: 18.97 kB / 0.6641 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.4654, allocations: 64.06 kB / 0.6642 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4654, allocations: 3.938 kB / 0.6642 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4654, allocations: 1.219 kB / 0.6642 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.4654, allocations: 3.938 kB / 0.6642 GB, free: 6.988 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004327/0.4658, allocations: 344.3 kB / 0.6645 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.4659, allocations: 9.594 kB / 0.6645 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.466, allocations: 3.812 kB / 0.6646 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.744e-05/0.466, allocations: 166.2 kB / 0.6647 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.4661, allocations: 6.812 kB / 0.6647 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.4661, allocations: 8.047 kB / 0.6647 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.4662, allocations: 53.91 kB / 0.6648 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.4662, allocations: 0 / 0.6648 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.4663, allocations: 5.234 kB / 0.6648 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.4663, allocations: 1.125 kB / 0.6648 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.028e-05/0.4663, allocations: 18.39 kB / 0.6648 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001417/0.4665, allocations: 164.9 kB / 0.665 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.952e-05/0.4666, allocations: 57.08 kB / 0.665 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.4666, allocations: 19.45 kB / 0.665 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006236/0.4673, allocations: 0.5941 MB / 0.6656 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.4673, allocations: 36.02 kB / 0.6656 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.4673, allocations: 0 / 0.6656 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005665/0.4679, allocations: 307.9 kB / 0.6659 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.4679, allocations: 52.66 kB / 0.666 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.686e-05/0.468, allocations: 97.89 kB / 0.6661 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.468, allocations: 26.67 kB / 0.6661 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.077e-05/0.468, allocations: 93.34 kB / 0.6662 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.468, allocations: 22.41 kB / 0.6662 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.4681, allocations: 37.89 kB / 0.6663 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.365e-05/0.4681, allocations: 320.2 kB / 0.6666 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.4682, allocations: 11.45 kB / 0.6666 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.326e-05/0.4682, allocations: 48.88 kB / 0.6666 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.371e-05/0.4683, allocations: 83.59 kB / 0.6667 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.4683, allocations: 0 / 0.6667 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001263/0.4685, allocations: 90.77 kB / 0.6668 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.4685, allocations: 5.688 kB / 0.6668 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4685, allocations: 1.609 kB / 0.6668 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.4685, allocations: 2.438 kB / 0.6668 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.018e-05/0.4686, allocations: 28.2 kB / 0.6668 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.4686, allocations: 6.516 kB / 0.6668 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.937e-05/0.4687, allocations: 5 kB / 0.6668 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.4687, allocations: 4.125 kB / 0.6668 GB, free: 4.211 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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 6.107e-05/0.4687, allocations: 122.2 kB / 0.6669 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.4688, allocations: 6.562 kB / 0.667 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.4688, allocations: 7.969 kB / 0.667 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.4688, allocations: 4.969 kB / 0.667 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4688, allocations: 5.375 kB / 0.667 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4688, allocations: 7.922 kB / 0.667 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.469, allocations: 173.3 kB / 0.6671 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.469, allocations: 1.344 kB / 0.6671 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.357e-05/0.4691, allocations: 16.45 kB / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4691, allocations: 1.406 kB / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.4691, allocations: 0 / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.4691, allocations: 1.375 kB / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4692, allocations: 0 / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.4693, allocations: 180.9 kB / 0.6673 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.4693, allocations: 79.59 kB / 0.6674 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.4694, allocations: 13.27 kB / 0.6674 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4695, allocations: 1.344 kB / 0.6674 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.4695, allocations: 2.75 kB / 0.6674 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.4695, allocations: 6.406 kB / 0.6674 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.188e-05/0.4695, allocations: 81.7 kB / 0.6675 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4695, allocations: 0 / 0.6675 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000245/0.4698, allocations: 14 kB / 0.6675 GB, free: 3.492 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0001185/0.4699, allocations: 108.5 kB / 0.6676 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.4701, allocations: 47.7 kB / 0.6677 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4701, allocations: 0 / 0.6677 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.484e-05/0.4701, allocations: 18.7 kB / 0.6677 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.4704, allocations: 7.969 kB / 0.6677 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/0.4709, allocations: 333.2 kB / 0.668 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.4711, allocations: 0.6819 MB / 0.6687 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.314e-05/0.4711, allocations: 3.25 kB / 0.6687 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.4712, allocations: 10.94 kB / 0.6687 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.4712, allocations: 4 kB / 0.6687 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of Templates: time 0.002977/0.4742, allocations: 0.6218 MB / 0.6693 GB, free: 2.047 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)