Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.EthyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_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.00632/0.00632, allocations: 99.08 kB / 15.73 MB, free: 6.008 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.001435/0.001435, allocations: 189.9 kB / 16.67 MB, free: 5.926 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.318/1.318, 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.8012/0.8012, allocations: 135.1 MB / 425.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 58.22 kB / 0.5851 GB, free: 21.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1486, allocations: 80.93 MB / 0.6642 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002715/0.1514, allocations: 1.386 MB / 0.6655 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003689/0.1551, allocations: 2.917 MB / 0.6684 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.1552, allocations: 0 / 0.6684 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.696e-05/0.1553, allocations: 7.984 kB / 0.6684 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.1555, allocations: 39.81 kB / 0.6684 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007007/0.1562, allocations: 187.1 kB / 0.6686 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.1565, allocations: 235.5 kB / 0.6688 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.1565, allocations: 7.938 kB / 0.6688 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1567, allocations: 95.84 kB / 0.6689 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.1568, allocations: 127.7 kB / 0.669 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.1569, allocations: 8 kB / 0.669 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004261/0.1573, allocations: 143.8 kB / 0.6692 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1574, allocations: 79.83 kB / 0.6692 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.1576, allocations: 95.58 kB / 0.6693 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004193/0.158, allocations: 279.3 kB / 0.6696 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.158, allocations: 3.984 kB / 0.6696 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.158, allocations: 0 / 0.6696 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.158, allocations: 0 / 0.6696 GB, free: 0.6641 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.0008848/0.1589, allocations: 0.5335 MB / 0.6701 GB, free: 84 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.159, allocations: 9.109 kB / 0.6701 GB, free: 76 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.173e-05/0.159, allocations: 46.73 kB / 0.6702 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.1591, allocations: 20.84 kB / 0.6702 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.1595, allocations: 240.1 kB / 0.6704 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.1595, allocations: 24.36 kB / 0.6705 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.1595, allocations: 12.38 kB / 0.6705 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006344/0.1602, allocations: 293.1 kB / 0.6707 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1602, allocations: 4 kB / 0.6707 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.1602, allocations: 4 kB / 0.6708 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1602, allocations: 4 kB / 0.6708 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.1617, allocations: 0.749 MB / 0.6715 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.1621, allocations: 309.3 kB / 0.6718 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.1637, allocations: 0.6805 MB / 0.6724 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004912/0.1642, allocations: 230.2 kB / 0.6727 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004223/0.1646, allocations: 404 kB / 0.6731 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1647, allocations: 34.56 kB / 0.6731 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=37): time 1.483e-06/0.1647, allocations: 0 / 0.6731 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37): time 0.00162/0.1663, allocations: 0.6534 MB / 0.6737 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.1664, allocations: 59.16 kB / 0.6738 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.1665, allocations: 126.1 kB / 0.6739 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.1665, allocations: 29.7 kB / 0.6739 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.1666, allocations: 92.8 kB / 0.674 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.1667, allocations: 134.8 kB / 0.6741 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.1668, allocations: 61.67 kB / 0.6742 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.167, allocations: 338.8 kB / 0.6745 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004826/0.1675, allocations: 191.8 kB / 0.6747 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.168, allocations: 199.8 kB / 0.6749 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009559/0.1689, allocations: 365.9 kB / 0.6752 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.1689, allocations: 7.938 kB / 0.6753 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001151/0.1701, allocations: 460.9 kB / 0.6757 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.1701, allocations: 4 kB / 0.6757 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1702, allocations: 4 kB / 0.6757 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.5e-05/0.1702, allocations: 0 / 0.6757 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.1706, allocations: 99.84 kB / 0.6758 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.1706, allocations: 0 / 0.6758 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.1709, allocations: 51.84 kB / 0.6758 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.1709, allocations: 12 kB / 0.6759 GB, free: 9.949 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.0001769/0.1711, allocations: 141.8 kB / 0.676 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.1711, allocations: 23.8 kB / 0.676 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.1725, allocations: 0.514 MB / 0.6765 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.1725, allocations: 0 / 0.6765 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.1725, allocations: 4 kB / 0.6765 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1725, allocations: 3.984 kB / 0.6765 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.1729, allocations: 317.3 kB / 0.6768 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1729, allocations: 7.875 kB / 0.6768 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/0.1733, allocations: 95.86 kB / 0.6769 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.1733, allocations: 0 / 0.6769 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.1733, allocations: 11.98 kB / 0.6769 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.1733, allocations: 7.938 kB / 0.6769 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1734, allocations: 0 / 0.6769 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.1746, allocations: 496.1 kB / 0.6774 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.479e-05/0.1747, allocations: 104.9 kB / 0.6775 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.1747, allocations: 4 kB / 0.6775 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.1749, allocations: 39.95 kB / 0.6776 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/0.1752, allocations: 115.8 kB / 0.6777 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.1752, allocations: 11.98 kB / 0.6777 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.623e-05/0.1753, allocations: 102.6 kB / 0.6778 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1753, allocations: 0 / 0.6778 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004944/0.1758, allocations: 127.7 kB / 0.6779 GB, free: 7.75 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.001937/0.1778, allocations: 1.117 MB / 0.679 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.179, allocations: 475 kB / 0.6794 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.179, allocations: 4 kB / 0.6795 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005628/0.1796, allocations: 255.7 kB / 0.6797 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.1801, allocations: 83.92 kB / 0.6798 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004663/0.1847, allocations: 2.669 MB / 0.6824 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.1851, allocations: 0.7444 MB / 0.6831 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004259/0.1855, allocations: 185.5 kB / 0.6833 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.1857, allocations: 67.34 kB / 0.6834 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of SimCode: time 1.142e-06/0.1857, allocations: 0 / 0.6834 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.2126, allocations: 7.407 MB / 0.6906 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/7.925, allocations: 8.656 kB / 0.6906 GB, free: 10.77 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)