Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IBPSA_latest_IBPSA_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IBPSA_latest_IBPSA_Media_Antifreeze_Validation_EthyleneGlycolWater",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.001109/0.001109, allocations: 104.2 kB / 16.4 MB, free: 6.438 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.00121/0.00121, allocations: 193.2 kB / 17.34 MB, free: 5.703 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7999/0.7999, allocations: 126.1 MB / 417.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.2 kB / 0.5726 GB, free: 27.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1365, allocations: 78.7 MB / 0.6494 GB, free: 4.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002664/0.1392, allocations: 1.374 MB / 0.6508 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003934/0.1432, allocations: 2.927 MB / 0.6536 GB, free: 292 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.204e-05/0.1433, allocations: 0 / 0.6536 GB, free: 292 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.1434, allocations: 7.922 kB / 0.6536 GB, free: 284 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.1436, allocations: 39.81 kB / 0.6537 GB, free: 244 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008337/0.1445, allocations: 183.1 kB / 0.6539 GB, free: 60 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.1449, allocations: 239.5 kB / 0.6541 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.483e-05/0.1449, allocations: 12 kB / 0.6541 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.1451, allocations: 95.77 kB / 0.6542 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.1453, allocations: 123.7 kB / 0.6543 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.1453, allocations: 12 kB / 0.6543 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005491/0.1459, allocations: 131.9 kB / 0.6544 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.1461, allocations: 87.81 kB / 0.6545 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.1462, allocations: 91.58 kB / 0.6546 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006071/0.1468, allocations: 275.3 kB / 0.6549 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1468, allocations: 0 / 0.6549 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.086e-06/0.1468, allocations: 0 / 0.6549 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.1469, allocations: 4 kB / 0.6549 GB, free: 15.01 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.0009885/0.1479, allocations: 0.5335 MB / 0.6554 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.1479, allocations: 11.97 kB / 0.6554 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.325e-05/0.148, allocations: 54.73 kB / 0.6555 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.1481, allocations: 16.84 kB / 0.6555 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.1484, allocations: 241.9 kB / 0.6557 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.1485, allocations: 24.36 kB / 0.6557 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.1485, allocations: 20.36 kB / 0.6558 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006472/0.1492, allocations: 282 kB / 0.656 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1492, allocations: 0 / 0.656 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.1492, allocations: 12 kB / 0.656 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1492, allocations: 4 kB / 0.656 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.1508, allocations: 0.7525 MB / 0.6568 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.1513, allocations: 309.3 kB / 0.6571 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.153, allocations: 0.6799 MB / 0.6577 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/0.1535, allocations: 236.6 kB / 0.658 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004386/0.154, allocations: 385.2 kB / 0.6583 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.154, allocations: 42.56 kB / 0.6584 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.933e-06/0.154, allocations: 0 / 0.6584 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001672/0.1557, allocations: 0.645 MB / 0.659 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.1558, allocations: 59.34 kB / 0.6591 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.1559, allocations: 126.1 kB / 0.6592 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.1559, allocations: 33.69 kB / 0.6592 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.156, allocations: 96.8 kB / 0.6593 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.1561, allocations: 130.9 kB / 0.6594 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.1562, allocations: 69.67 kB / 0.6595 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1563, allocations: 326.8 kB / 0.6598 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/0.1568, allocations: 203.5 kB / 0.66 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/0.1573, allocations: 196.8 kB / 0.6602 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008992/0.1582, allocations: 368.2 kB / 0.6605 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1583, allocations: 0 / 0.6605 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001122/0.1594, allocations: 457.3 kB / 0.661 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.1594, allocations: 11.98 kB / 0.661 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1594, allocations: 3.938 kB / 0.661 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.1595, allocations: 0 / 0.661 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.1598, allocations: 95.92 kB / 0.6611 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.1599, allocations: 7.938 kB / 0.6611 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.1601, allocations: 47.8 kB / 0.6611 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.1601, allocations: 15.98 kB / 0.6611 GB, free: 8.281 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 0.0001375/0.1603, allocations: 137.1 kB / 0.6613 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.1603, allocations: 27.78 kB / 0.6613 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.1616, allocations: 0.5139 MB / 0.6618 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.1616, allocations: 4 kB / 0.6618 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1616, allocations: 3.984 kB / 0.6618 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1616, allocations: 0 / 0.6618 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.162, allocations: 325.3 kB / 0.6621 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.162, allocations: 3.938 kB / 0.6621 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.1624, allocations: 95.84 kB / 0.6622 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.1624, allocations: 7.938 kB / 0.6622 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.1624, allocations: 12 kB / 0.6622 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1624, allocations: 0 / 0.6622 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1624, allocations: 3.984 kB / 0.6622 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.1636, allocations: 496.7 kB / 0.6627 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.866e-05/0.1637, allocations: 100.9 kB / 0.6628 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.1637, allocations: 11.98 kB / 0.6628 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.1639, allocations: 31.97 kB / 0.6629 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002308/0.1642, allocations: 123.8 kB / 0.663 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.1642, allocations: 12 kB / 0.663 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.274e-05/0.1643, allocations: 105.1 kB / 0.6631 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1643, allocations: 0 / 0.6631 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003951/0.1647, allocations: 115.8 kB / 0.6632 GB, free: 6.09 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.001652/0.1663, allocations: 1.119 MB / 0.6643 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.1675, allocations: 471.6 kB / 0.6647 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1676, allocations: 4 kB / 0.6647 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005784/0.1681, allocations: 267.4 kB / 0.665 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.1686, allocations: 67.92 kB / 0.6651 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.1731, allocations: 2.684 MB / 0.6677 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.1735, allocations: 0.7289 MB / 0.6684 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004314/0.1739, allocations: 181.6 kB / 0.6686 GB, free: 456 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.1741, allocations: 71.33 kB / 0.6686 GB, free: 384 kB / 0.4981 GB Notification: Performance of SimCode: time 7.91e-07/0.1741, allocations: 3.938 kB / 0.6686 GB, free: 380 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.1999, allocations: 7.423 MB / 0.6759 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.17, allocations: 9.938 kB / 0.6759 GB, free: 9.098 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)