Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="IDEAS_dev_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.006615/0.006615, allocations: 100.7 kB / 15.73 MB, free: 6.023 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.001441/0.001441, allocations: 194.8 kB / 16.67 MB, free: 5.934 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7912/0.7912, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 61.81 kB / 0.5851 GB, free: 21.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1445, allocations: 80.92 MB / 0.6641 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002701/0.1472, allocations: 1.393 MB / 0.6655 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003724/0.151, allocations: 2.909 MB / 0.6683 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.643e-05/0.151, allocations: 0 / 0.6683 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.1512, allocations: 15.92 kB / 0.6684 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.1513, allocations: 35.81 kB / 0.6684 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006473/0.1519, allocations: 183.2 kB / 0.6686 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.1522, allocations: 243.5 kB / 0.6688 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.1523, allocations: 4 kB / 0.6688 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1524, allocations: 95.84 kB / 0.6689 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.1526, allocations: 127.6 kB / 0.669 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.1526, allocations: 12 kB / 0.669 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004105/0.153, allocations: 131.9 kB / 0.6692 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1532, allocations: 87.81 kB / 0.6692 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.1533, allocations: 95.58 kB / 0.6693 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.1537, allocations: 275.3 kB / 0.6696 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1537, allocations: 4 kB / 0.6696 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1537, allocations: 0 / 0.6696 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.1538, allocations: 0 / 0.6696 GB, free: 0.6953 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.0008963/0.1547, allocations: 0.5296 MB / 0.6701 GB, free: 120 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1547, allocations: 13.11 kB / 0.6701 GB, free: 108 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.067e-05/0.1548, allocations: 50.73 kB / 0.6702 GB, free: 48 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.1549, allocations: 20.84 kB / 0.6702 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.1552, allocations: 247.2 kB / 0.6704 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.297e-05/0.1553, allocations: 24.36 kB / 0.6705 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.1554, allocations: 12.38 kB / 0.6705 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006972/0.1561, allocations: 293.1 kB / 0.6707 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1561, allocations: 0 / 0.6707 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.1561, allocations: 4 kB / 0.6707 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1561, allocations: 7.938 kB / 0.6708 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.1576, allocations: 0.7491 MB / 0.6715 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.158, allocations: 309.3 kB / 0.6718 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.1598, allocations: 0.6844 MB / 0.6725 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005226/0.1603, allocations: 230.2 kB / 0.6727 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004433/0.1608, allocations: 400 kB / 0.6731 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1608, allocations: 38.56 kB / 0.6731 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/0.1608, allocations: 0 / 0.6731 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37): time 0.001674/0.1625, allocations: 0.6456 MB / 0.6737 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.1625, allocations: 63.14 kB / 0.6738 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.1627, allocations: 126.1 kB / 0.6739 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.1627, allocations: 33.7 kB / 0.6739 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.1627, allocations: 88.78 kB / 0.674 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.1629, allocations: 134.9 kB / 0.6741 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.653e-05/0.163, allocations: 65.67 kB / 0.6742 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1631, allocations: 330.8 kB / 0.6745 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/0.1636, allocations: 195.8 kB / 0.6747 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004974/0.1641, allocations: 195.8 kB / 0.6749 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009196/0.1651, allocations: 373.8 kB / 0.6753 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1651, allocations: 0 / 0.6753 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001083/0.1662, allocations: 460.9 kB / 0.6757 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1662, allocations: 4 kB / 0.6757 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1662, allocations: 0 / 0.6757 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1662, allocations: 8 kB / 0.6757 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.1666, allocations: 99.84 kB / 0.6758 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.1666, allocations: 0 / 0.6758 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.1668, allocations: 47.84 kB / 0.6758 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.1668, allocations: 8 kB / 0.6759 GB, free: 9.98 MB / 0.5137 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 0.0001321/0.167, allocations: 145.8 kB / 0.676 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.167, allocations: 23.8 kB / 0.676 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.1682, allocations: 0.514 MB / 0.6765 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1683, allocations: 4 kB / 0.6765 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1683, allocations: 3.938 kB / 0.6765 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1683, allocations: 3.984 kB / 0.6765 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.1686, allocations: 317.3 kB / 0.6768 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1686, allocations: 3.938 kB / 0.6768 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.169, allocations: 99.86 kB / 0.6769 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.169, allocations: 7.938 kB / 0.6769 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.169, allocations: 11.98 kB / 0.6769 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.169, allocations: 0 / 0.6769 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.169, allocations: 0 / 0.6769 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.1701, allocations: 0.4923 MB / 0.6774 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.1702, allocations: 96.89 kB / 0.6775 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.1702, allocations: 8 kB / 0.6775 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.1704, allocations: 39.95 kB / 0.6776 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/0.1707, allocations: 119.8 kB / 0.6777 GB, free: 8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.1707, allocations: 11.98 kB / 0.6777 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.814e-05/0.1708, allocations: 99.27 kB / 0.6778 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1708, allocations: 0 / 0.6778 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003994/0.1712, allocations: 119.7 kB / 0.6779 GB, free: 7.773 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 (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.001685/0.1729, allocations: 1.117 MB / 0.679 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.174, allocations: 479 kB / 0.6794 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.174, allocations: 0 / 0.6794 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005455/0.1746, allocations: 259.7 kB / 0.6797 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.175, allocations: 77.8 kB / 0.6798 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.1793, allocations: 2.677 MB / 0.6824 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.1796, allocations: 0.7327 MB / 0.6831 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003937/0.18, allocations: 185.5 kB / 0.6833 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.1801, allocations: 67.39 kB / 0.6833 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.1802, allocations: 3.938 kB / 0.6833 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.206, allocations: 7.419 MB / 0.6906 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.365/7.571, allocations: 10.77 kB / 0.6906 GB, free: 10.79 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)