Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.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.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="IDEAS_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="IDEAS_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater",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.00497/0.00497, allocations: 97.61 kB / 15.73 MB, free: 6.047 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.001098/0.001098, allocations: 194 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.357/1.357, 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.7661/0.7661, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 0.5809 GB, free: 8.078 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4481, allocations: 80.22 MB / 0.6592 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002333/0.4504, allocations: 1.372 MB / 0.6605 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002988/0.4534, allocations: 2.911 MB / 0.6634 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.497e-05/0.4535, allocations: 1.375 kB / 0.6634 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.086e-05/0.4536, allocations: 6.516 kB / 0.6634 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.4537, allocations: 46.64 kB / 0.6634 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.4543, allocations: 183.4 kB / 0.6636 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.4545, allocations: 247.7 kB / 0.6638 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.4546, allocations: 3.938 kB / 0.6638 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.791e-05/0.4547, allocations: 98.7 kB / 0.6639 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.4548, allocations: 122.5 kB / 0.664 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.4548, allocations: 10.28 kB / 0.6641 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/0.4552, allocations: 134.5 kB / 0.6642 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.876e-05/0.4553, allocations: 85.16 kB / 0.6643 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.4554, allocations: 93.73 kB / 0.6644 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.4557, allocations: 271.3 kB / 0.6646 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4558, allocations: 4 kB / 0.6646 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.905e-06/0.4558, allocations: 0 / 0.6646 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.4558, allocations: 5.062 kB / 0.6646 GB, free: 6.297 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007431/0.4565, allocations: 0.5359 MB / 0.6651 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.4566, allocations: 9.188 kB / 0.6652 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/0.4566, allocations: 56.67 kB / 0.6652 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.4567, allocations: 18 kB / 0.6652 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.457, allocations: 237.9 kB / 0.6655 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.457, allocations: 27.48 kB / 0.6655 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.457, allocations: 14.62 kB / 0.6655 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/0.4576, allocations: 289.4 kB / 0.6658 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4577, allocations: 0 / 0.6658 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.4577, allocations: 5.281 kB / 0.6658 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.4577, allocations: 4.5 kB / 0.6658 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.459, allocations: 0.7451 MB / 0.6665 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.4594, allocations: 306.8 kB / 0.6668 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.4609, allocations: 0.6893 MB / 0.6675 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004714/0.4614, allocations: 227.3 kB / 0.6677 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003203/0.4617, allocations: 399.1 kB / 0.6681 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.4618, allocations: 32.31 kB / 0.6681 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.372e-06/0.4618, allocations: 3.938 kB / 0.6681 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001545/0.4633, allocations: 0.6526 MB / 0.6687 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.4634, allocations: 58.97 kB / 0.6688 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.136e-05/0.4634, allocations: 135.9 kB / 0.6689 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.4635, allocations: 30.89 kB / 0.669 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.56e-05/0.4635, allocations: 86.98 kB / 0.669 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.4636, allocations: 133.7 kB / 0.6692 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.574e-05/0.4637, allocations: 72.67 kB / 0.6692 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.991e-05/0.4637, allocations: 327.9 kB / 0.6695 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.4642, allocations: 195.6 kB / 0.6697 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/0.4646, allocations: 201.5 kB / 0.6699 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000847/0.4655, allocations: 359.1 kB / 0.6703 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4655, allocations: 0 / 0.6703 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001005/0.4665, allocations: 472.6 kB / 0.6707 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4665, allocations: 5.406 kB / 0.6707 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4665, allocations: 8 kB / 0.6707 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4666, allocations: 2.188 kB / 0.6707 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.4669, allocations: 92.2 kB / 0.6708 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.4669, allocations: 1.062 kB / 0.6708 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.4671, allocations: 54.42 kB / 0.6709 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.4672, allocations: 12.02 kB / 0.6709 GB, free: 2.172 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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 9.939e-05/0.4673, allocations: 143.7 kB / 0.671 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.4673, allocations: 20.94 kB / 0.671 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.4684, allocations: 0.508 MB / 0.6715 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.4684, allocations: 3.406 kB / 0.6715 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4685, allocations: 5.141 kB / 0.6715 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4685, allocations: 0 / 0.6715 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.4687, allocations: 314.1 kB / 0.6718 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4687, allocations: 3.938 kB / 0.6719 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.4691, allocations: 100.1 kB / 0.6719 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4691, allocations: 2.031 kB / 0.672 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.4691, allocations: 11.16 kB / 0.672 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4691, allocations: 2.25 kB / 0.672 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4691, allocations: 3.984 kB / 0.672 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.4702, allocations: 497.6 kB / 0.6724 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.4702, allocations: 111.3 kB / 0.6725 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.4702, allocations: 5.219 kB / 0.6726 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.4704, allocations: 35.53 kB / 0.6726 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.4706, allocations: 119.8 kB / 0.6727 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.4707, allocations: 12.56 kB / 0.6727 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.4707, allocations: 101.9 kB / 0.6728 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4707, allocations: 0 / 0.6728 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003845/0.4711, allocations: 112.1 kB / 0.6729 GB, free: 0.8828 MB / 0.4981 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 (37): * Single equations (assignments): 37 * 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.001374/0.4725, allocations: 1.128 MB / 0.674 GB, free: 48 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.4736, allocations: 473.1 kB / 0.6745 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4736, allocations: 0 / 0.6745 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005419/0.4742, allocations: 260.7 kB / 0.6747 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.4746, allocations: 80.55 kB / 0.6748 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.4787, allocations: 2.688 MB / 0.6774 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.479, allocations: 0.7377 MB / 0.6781 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004111/0.4794, allocations: 181.7 kB / 0.6783 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.4795, allocations: 63.27 kB / 0.6784 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.4795, allocations: 1.219 kB / 0.6784 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.5049, allocations: 7.418 MB / 0.6856 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.507, allocations: 16.59 kB / 0.6856 GB, free: 9.391 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)