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.001973/0.001973, allocations: 105.6 kB / 16.4 MB, free: 6.039 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.00216/0.00216, allocations: 191.9 kB / 17.34 MB, free: 5.629 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 / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8332/0.8332, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.59 kB / 0.5735 GB, free: 27.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1617, allocations: 78.86 MB / 0.6505 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002819/0.1645, allocations: 1.378 MB / 0.6519 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004215/0.1688, allocations: 2.915 MB / 0.6547 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.1689, allocations: 0 / 0.6547 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.169, allocations: 7.984 kB / 0.6547 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.1692, allocations: 43.75 kB / 0.6548 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006756/0.1698, allocations: 183.2 kB / 0.655 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.1702, allocations: 239.5 kB / 0.6552 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.197e-05/0.1702, allocations: 11.94 kB / 0.6552 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.1704, allocations: 91.84 kB / 0.6553 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.1706, allocations: 131.6 kB / 0.6554 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.1706, allocations: 16 kB / 0.6554 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004483/0.1711, allocations: 131.9 kB / 0.6556 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1712, allocations: 79.83 kB / 0.6556 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.1713, allocations: 95.58 kB / 0.6557 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004667/0.1718, allocations: 275.3 kB / 0.656 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1718, allocations: 0 / 0.656 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1718, allocations: 0 / 0.656 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.1719, allocations: 0 / 0.656 GB, free: 14.02 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.0009505/0.1728, allocations: 0.5335 MB / 0.6565 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1729, allocations: 8.031 kB / 0.6565 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.398e-05/0.1729, allocations: 50.73 kB / 0.6566 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.1731, allocations: 20.83 kB / 0.6566 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.1734, allocations: 240.1 kB / 0.6568 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.055e-05/0.1734, allocations: 24.36 kB / 0.6568 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.1735, allocations: 20.36 kB / 0.6568 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006942/0.1742, allocations: 289.9 kB / 0.6571 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1742, allocations: 0 / 0.6571 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.1742, allocations: 4 kB / 0.6571 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.1742, allocations: 4 kB / 0.6571 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.1758, allocations: 0.7563 MB / 0.6579 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.1763, allocations: 313.3 kB / 0.6582 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.1781, allocations: 0.676 MB / 0.6588 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005645/0.1787, allocations: 232.7 kB / 0.6591 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005005/0.1792, allocations: 393.2 kB / 0.6594 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.1792, allocations: 38.56 kB / 0.6595 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.834e-06/0.1792, allocations: 0 / 0.6595 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001825/0.1811, allocations: 0.6528 MB / 0.6601 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.1811, allocations: 55.41 kB / 0.6602 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1813, allocations: 126.1 kB / 0.6603 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.1813, allocations: 29.7 kB / 0.6603 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.1814, allocations: 92.78 kB / 0.6604 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.1815, allocations: 130.9 kB / 0.6605 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.1817, allocations: 65.67 kB / 0.6606 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1818, allocations: 334.8 kB / 0.6609 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005342/0.1824, allocations: 195.5 kB / 0.6611 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.1829, allocations: 204.8 kB / 0.6613 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009869/0.1839, allocations: 368.2 kB / 0.6616 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.184, allocations: 4 kB / 0.6616 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001191/0.1852, allocations: 457.3 kB / 0.6621 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1852, allocations: 8 kB / 0.6621 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1852, allocations: 3.984 kB / 0.6621 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1852, allocations: 0 / 0.6621 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.1856, allocations: 99.86 kB / 0.6622 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.1856, allocations: 4 kB / 0.6622 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.1858, allocations: 51.8 kB / 0.6622 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.1859, allocations: 11.98 kB / 0.6622 GB, free: 7.289 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.000151/0.186, allocations: 141.8 kB / 0.6624 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.1861, allocations: 19.84 kB / 0.6624 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.1874, allocations: 0.51 MB / 0.6629 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.1874, allocations: 4 kB / 0.6629 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.1874, allocations: 0 / 0.6629 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.1875, allocations: 15.91 kB / 0.6629 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.1879, allocations: 317.3 kB / 0.6632 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.1879, allocations: 3.938 kB / 0.6632 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.1883, allocations: 91.92 kB / 0.6633 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.1883, allocations: 11.92 kB / 0.6633 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.1883, allocations: 11.94 kB / 0.6633 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1883, allocations: 0 / 0.6633 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1883, allocations: 0 / 0.6633 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.1895, allocations: 0.489 MB / 0.6638 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.913e-05/0.1896, allocations: 100.9 kB / 0.6639 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.1897, allocations: 7.984 kB / 0.6639 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.1898, allocations: 31.97 kB / 0.6639 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/0.1901, allocations: 123.8 kB / 0.6641 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.1901, allocations: 8 kB / 0.6641 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.382e-05/0.1902, allocations: 106.8 kB / 0.6642 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1902, allocations: 8 kB / 0.6642 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004097/0.1906, allocations: 115.8 kB / 0.6643 GB, free: 5.094 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.001848/0.1925, allocations: 1.115 MB / 0.6654 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.1937, allocations: 475.6 kB / 0.6658 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1937, allocations: 0 / 0.6658 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005884/0.1943, allocations: 263.4 kB / 0.6661 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.1948, allocations: 77.64 kB / 0.6662 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/0.1995, allocations: 2.696 MB / 0.6688 GB, free: 376 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.1999, allocations: 0.7327 MB / 0.6695 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004437/0.2004, allocations: 177.6 kB / 0.6697 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.2005, allocations: 67.39 kB / 0.6697 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of SimCode: time 7.71e-07/0.2006, allocations: 0 / 0.6697 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03306/0.2336, allocations: 7.425 MB / 0.677 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.319/8.552, allocations: 12.17 kB / 0.677 GB, free: 8.09 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)