Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001759/0.001759, allocations: 194.9 kB / 16.25 MB, free: 6.625 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.326/1.326, allocations: 222.9 MB / 239.9 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001967/0.001966, allocations: 279 kB / 290.4 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9693/0.9693, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.001611, allocations: 92.62 kB / 0.5947 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1649, allocations: 86.98 MB / 0.6796 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002229/0.1672, allocations: 1.322 MB / 0.6809 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003102/0.1703, allocations: 2.899 MB / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.88e-05/0.1703, allocations: 0 / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.1704, allocations: 7.938 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.921e-05/0.1704, allocations: 7.969 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.1709, allocations: 87.62 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.009e-05/0.171, allocations: 35.91 kB / 0.6839 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.191e-05/0.171, allocations: 8 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004056/0.1714, allocations: 151.8 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.744e-05/0.1715, allocations: 11.92 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.1715, allocations: 4 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.1716, allocations: 75.8 kB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.1716, allocations: 8 kB / 0.6841 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.1717, allocations: 15.92 kB / 0.6841 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.1718, allocations: 63.8 kB / 0.6842 GB, free: 12.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1718, allocations: 0 / 0.6842 GB, free: 12.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1718, allocations: 4 kB / 0.6842 GB, free: 12.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1718, allocations: 0 / 0.6842 GB, free: 12.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003887/0.1722, allocations: 351.4 kB / 0.6845 GB, free: 11.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.1723, allocations: 8.031 kB / 0.6845 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.1723, allocations: 4.938 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.79e-05/0.1724, allocations: 160.4 kB / 0.6847 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-06/0.1724, allocations: 4.375 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.1725, allocations: 8.375 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.1726, allocations: 65.72 kB / 0.6848 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1726, allocations: 0 / 0.6848 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1726, allocations: 4 kB / 0.6848 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1726, allocations: 0 / 0.6848 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.823e-05/0.1727, allocations: 19.98 kB / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.1728, allocations: 173.5 kB / 0.685 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.1729, allocations: 50.5 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.173, allocations: 20.84 kB / 0.685 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006223/0.1736, allocations: 0.5869 MB / 0.6856 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.1736, allocations: 38.5 kB / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1737, allocations: 0 / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005249/0.1742, allocations: 302.5 kB / 0.6859 GB, free: 10.26 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.1742, allocations: 55.41 kB / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.178e-05/0.1743, allocations: 105.7 kB / 0.6861 GB, free: 10.08 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1743, allocations: 29.7 kB / 0.6861 GB, free: 10.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.1744, allocations: 84.08 kB / 0.6862 GB, free: 9.961 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.1744, allocations: 31.55 kB / 0.6862 GB, free: 9.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.1744, allocations: 25.72 kB / 0.6862 GB, free: 9.898 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.1745, allocations: 322.8 kB / 0.6865 GB, free: 9.574 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/0.1746, allocations: 11.94 kB / 0.6866 GB, free: 9.562 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.797e-05/0.1746, allocations: 57.14 kB / 0.6866 GB, free: 9.488 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.228e-05/0.1747, allocations: 77.08 kB / 0.6867 GB, free: 9.395 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1747, allocations: 0 / 0.6867 GB, free: 9.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001405/0.1749, allocations: 93.45 kB / 0.6868 GB, free: 9.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1749, allocations: 8 kB / 0.6868 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1749, allocations: 0 / 0.6868 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1749, allocations: 4 kB / 0.6868 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.889e-05/0.175, allocations: 19.94 kB / 0.6868 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.175, allocations: 0 / 0.6868 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.942e-05/0.175, allocations: 11.94 kB / 0.6868 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.1751, allocations: 12.11 kB / 0.6868 GB, free: 9.242 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 7.586e-05/0.1752, allocations: 115.2 kB / 0.6869 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.1752, allocations: 0 / 0.6869 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.1752, allocations: 7.969 kB / 0.6869 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1752, allocations: 4 kB / 0.6869 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1752, allocations: 0 / 0.6869 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1752, allocations: 3.938 kB / 0.687 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.1755, allocations: 169.7 kB / 0.6871 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1755, allocations: 448 / 0.6871 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.231e-05/0.1756, allocations: 27.92 kB / 0.6871 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1756, allocations: 0 / 0.6871 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1756, allocations: 8 kB / 0.6872 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1756, allocations: 0 / 0.6872 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1756, allocations: 0 / 0.6872 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.1758, allocations: 179.3 kB / 0.6873 GB, free: 8.668 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.1758, allocations: 81.11 kB / 0.6874 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.1758, allocations: 0 / 0.6874 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1759, allocations: 12.03 kB / 0.6874 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.176, allocations: 7.938 kB / 0.6874 GB, free: 8.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.176, allocations: 7.938 kB / 0.6874 GB, free: 8.543 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.648e-05/0.176, allocations: 79.59 kB / 0.6875 GB, free: 8.465 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.176, allocations: 0 / 0.6875 GB, free: 8.465 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.1763, allocations: 16 kB / 0.6875 GB, free: 8.449 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001143/0.1764, allocations: 103.4 kB / 0.6876 GB, free: 8.336 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.1765, allocations: 51.91 kB / 0.6877 GB, free: 8.285 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1765, allocations: 0 / 0.6877 GB, free: 8.285 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.201e-05/0.1765, allocations: 15.94 kB / 0.6877 GB, free: 8.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.1768, allocations: 7.984 kB / 0.6877 GB, free: 8.262 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005022/0.1773, allocations: 346.3 kB / 0.688 GB, free: 7.898 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.1776, allocations: 0.6846 MB / 0.6887 GB, free: 7.188 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.363e-05/0.1776, allocations: 8 kB / 0.6887 GB, free: 7.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.1776, allocations: 11.44 kB / 0.6887 GB, free: 7.168 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1776, allocations: 0 / 0.6887 GB, free: 7.168 MB / 494.1 MB Notification: Performance of Templates: time 0.002581/0.1802, allocations: 0.6294 MB / 0.6893 GB, free: 6.539 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)