Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001104, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001941/0.001941, allocations: 283.2 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9111/0.9111, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 94.36 kB / 0.5952 GB, free: 27.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1518, allocations: 86.98 MB / 0.6802 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.005546/0.1574, allocations: 4.431 MB / 0.6845 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.16, allocations: 2.683 MB / 0.6871 GB, free: 9.551 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.297e-05/0.16, allocations: 0 / 0.6871 GB, free: 9.551 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.1603, allocations: 47.67 kB / 0.6872 GB, free: 9.504 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.1605, allocations: 95.36 kB / 0.6872 GB, free: 9.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009235/0.1614, allocations: 496.4 kB / 0.6877 GB, free: 8.926 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.1617, allocations: 235.9 kB / 0.6879 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.1617, allocations: 9.562 kB / 0.688 GB, free: 8.688 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007959/0.1625, allocations: 427 kB / 0.6884 GB, free: 8.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.1626, allocations: 87.66 kB / 0.6884 GB, free: 8.184 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.1627, allocations: 8 kB / 0.6885 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000814/0.1635, allocations: 495 kB / 0.6889 GB, free: 7.691 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.7e-05/0.1635, allocations: 31.89 kB / 0.689 GB, free: 7.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.571e-05/0.1636, allocations: 75.67 kB / 0.689 GB, free: 7.586 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004986/0.1641, allocations: 351.1 kB / 0.6894 GB, free: 7.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1641, allocations: 0 / 0.6894 GB, free: 7.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1641, allocations: 3.938 kB / 0.6894 GB, free: 7.238 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1642, allocations: 8 kB / 0.6894 GB, free: 7.23 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000648/0.1648, allocations: 0.4953 MB / 0.6899 GB, free: 6.688 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.1648, allocations: 8.031 kB / 0.6899 GB, free: 6.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.165, allocations: 20.75 kB / 0.6899 GB, free: 6.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.1652, allocations: 220 kB / 0.6901 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1652, allocations: 16.64 kB / 0.6901 GB, free: 6.391 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.1653, allocations: 20.36 kB / 0.6901 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.1656, allocations: 249.7 kB / 0.6904 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1656, allocations: 4 kB / 0.6904 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.1657, allocations: 7.938 kB / 0.6904 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.1657, allocations: 8 kB / 0.6904 GB, free: 6.086 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.1661, allocations: 427.5 kB / 0.6908 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009562/0.1671, allocations: 0.9999 MB / 0.6918 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.1674, allocations: 163.7 kB / 0.6919 GB, free: 4.406 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.383e-05/0.1675, allocations: 66.19 kB / 0.692 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/0.1687, allocations: 1.821 MB / 0.6938 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1687, allocations: 38.56 kB / 0.6938 GB, free: 2.113 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.1688, allocations: 4 kB / 0.6938 GB, free: 2.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003073/0.1691, allocations: 137.5 kB / 0.6939 GB, free: 1.969 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.1691, allocations: 59.28 kB / 0.694 GB, free: 1.898 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1693, allocations: 170.8 kB / 0.6942 GB, free: 1.719 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1693, allocations: 29.7 kB / 0.6942 GB, free: 1.684 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.331e-05/0.1694, allocations: 147.7 kB / 0.6943 GB, free: 1.535 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.1694, allocations: 51.3 kB / 0.6944 GB, free: 1.484 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/0.1695, allocations: 53.61 kB / 0.6944 GB, free: 1.426 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1696, allocations: 330.8 kB / 0.6947 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.527e-05/0.1697, allocations: 35.97 kB / 0.6948 GB, free: 1.059 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.1699, allocations: 133.7 kB / 0.6949 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.1701, allocations: 196.6 kB / 0.6951 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1701, allocations: 4 kB / 0.6951 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003021/0.1704, allocations: 209.6 kB / 0.6953 GB, free: 436 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1704, allocations: 8 kB / 0.6953 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1705, allocations: 8.031 kB / 0.6953 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1705, allocations: 4 kB / 0.6953 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.1706, allocations: 59.86 kB / 0.6954 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1707, allocations: 11.92 kB / 0.6954 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.1708, allocations: 23.75 kB / 0.6954 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.1708, allocations: 12 kB / 0.6954 GB, free: 308 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001039/0.1709, allocations: 137.7 kB / 0.6956 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.171, allocations: 15.81 kB / 0.6956 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.1713, allocations: 158.9 kB / 0.6957 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.1713, allocations: 11.88 kB / 0.6957 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1713, allocations: 0 / 0.6957 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1713, allocations: 0 / 0.6957 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.1715, allocations: 213.5 kB / 0.6959 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1715, allocations: 0 / 0.6959 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.679e-05/0.1716, allocations: 27.92 kB / 0.696 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.1716, allocations: 3.984 kB / 0.696 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1717, allocations: 8 kB / 0.696 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.1717, allocations: 7.938 kB / 0.696 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1717, allocations: 4 kB / 0.696 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.1719, allocations: 216.7 kB / 0.6962 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-05/0.172, allocations: 108.8 kB / 0.6963 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.172, allocations: 4 kB / 0.6963 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.1722, allocations: 23.91 kB / 0.6963 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.1723, allocations: 11.92 kB / 0.6963 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.1723, allocations: 15.98 kB / 0.6963 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.401e-05/0.1724, allocations: 121.1 kB / 0.6965 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1724, allocations: 0 / 0.6965 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003573/0.1728, allocations: 72 kB / 0.6965 GB, free: 15.07 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003211/0.1731, allocations: 171.1 kB / 0.6967 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.1733, allocations: 125.2 kB / 0.6968 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.1733, allocations: 0 / 0.6968 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.648e-05/0.1734, allocations: 47.91 kB / 0.6969 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.1738, allocations: 56.83 kB / 0.6969 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006293/0.1745, allocations: 350.8 kB / 0.6972 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.1748, allocations: 0.7129 MB / 0.6979 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.1749, allocations: 53.59 kB / 0.698 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.175, allocations: 23.44 kB / 0.698 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.175, allocations: 4 kB / 0.698 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.006363/0.1814, allocations: 3.35 MB / 0.7013 GB, free: 10.17 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)