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.00104/0.00104, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001116/0.001116, allocations: 190.9 kB / 16.14 MB, free: 6.707 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.324/1.324, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001973/0.001973, allocations: 279.1 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9852/0.9852, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 92.69 kB / 0.5945 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1581, allocations: 86.98 MB / 0.6794 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002068/0.1602, allocations: 1.319 MB / 0.6807 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.1633, allocations: 2.919 MB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.564e-05/0.1633, allocations: 4 kB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.1634, allocations: 0 / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.955e-05/0.1634, allocations: 3.938 kB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.1638, allocations: 87.67 kB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.931e-05/0.1639, allocations: 43.78 kB / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.282e-05/0.1639, allocations: 0 / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004046/0.1643, allocations: 147.7 kB / 0.6838 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.361e-05/0.1644, allocations: 11.92 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.1644, allocations: 4 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.1645, allocations: 67.81 kB / 0.6839 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.1646, allocations: 11.98 kB / 0.6839 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.1646, allocations: 11.94 kB / 0.6839 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.1647, allocations: 64.06 kB / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1648, allocations: 4 kB / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1648, allocations: 0 / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.1648, allocations: 0 / 0.684 GB, free: 12.48 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.0003691/0.1651, allocations: 353.7 kB / 0.6843 GB, free: 12.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1652, allocations: 12.02 kB / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.1652, allocations: 4.938 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.478e-05/0.1653, allocations: 164.3 kB / 0.6845 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1653, allocations: 8.375 kB / 0.6845 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.1654, allocations: 384 / 0.6845 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.1655, allocations: 61.8 kB / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.1655, allocations: 0 / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1655, allocations: 4 kB / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1655, allocations: 0 / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.832e-05/0.1656, allocations: 15.98 kB / 0.6846 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.1657, allocations: 173.5 kB / 0.6848 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.087e-05/0.1658, allocations: 50.5 kB / 0.6848 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.1659, allocations: 24.78 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005908/0.1665, allocations: 0.5946 MB / 0.6854 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1665, allocations: 34.56 kB / 0.6855 GB, free: 10.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.1665, allocations: 0 / 0.6855 GB, free: 10.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004941/0.167, allocations: 298.5 kB / 0.6857 GB, free: 10.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.167, allocations: 59.34 kB / 0.6858 GB, free: 10.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.157e-05/0.1671, allocations: 109.8 kB / 0.6859 GB, free: 10.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1671, allocations: 25.7 kB / 0.6859 GB, free: 10.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.085e-05/0.1672, allocations: 80.14 kB / 0.686 GB, free: 10.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.1672, allocations: 31.55 kB / 0.686 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.1672, allocations: 25.72 kB / 0.6861 GB, free: 10.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.862e-05/0.1673, allocations: 318.8 kB / 0.6864 GB, free: 9.703 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.524e-05/0.1673, allocations: 11.98 kB / 0.6864 GB, free: 9.691 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.242e-05/0.1674, allocations: 57.14 kB / 0.6864 GB, free: 9.617 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.399e-05/0.1675, allocations: 73.27 kB / 0.6865 GB, free: 9.527 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1675, allocations: 0 / 0.6865 GB, free: 9.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001248/0.1676, allocations: 97.45 kB / 0.6866 GB, free: 9.426 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1676, allocations: 4 kB / 0.6866 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1676, allocations: 4.078 kB / 0.6866 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1677, allocations: 3.984 kB / 0.6866 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-05/0.1677, allocations: 27.94 kB / 0.6866 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1677, allocations: 3.984 kB / 0.6866 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.496e-05/0.1678, allocations: 3.938 kB / 0.6866 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.1678, allocations: 4 kB / 0.6866 GB, free: 9.375 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 6.97e-05/0.1679, allocations: 123.2 kB / 0.6868 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.1679, allocations: 7.984 kB / 0.6868 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.1679, allocations: 11.91 kB / 0.6868 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1679, allocations: 0 / 0.6868 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1679, allocations: 4 kB / 0.6868 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.168, allocations: 3.938 kB / 0.6868 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.1682, allocations: 173.7 kB / 0.687 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1682, allocations: 0 / 0.687 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.956e-05/0.1683, allocations: 12 kB / 0.687 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1683, allocations: 3.984 kB / 0.687 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1683, allocations: 4 kB / 0.687 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1683, allocations: 4.438 kB / 0.687 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1683, allocations: 0 / 0.687 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.1684, allocations: 175.3 kB / 0.6871 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.1685, allocations: 85.14 kB / 0.6872 GB, free: 8.691 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.1685, allocations: 11.94 kB / 0.6872 GB, free: 8.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.1686, allocations: 0 / 0.6872 GB, free: 8.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.1686, allocations: 7.984 kB / 0.6872 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.1687, allocations: 11.94 kB / 0.6873 GB, free: 8.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.647e-05/0.1687, allocations: 75.28 kB / 0.6873 GB, free: 8.586 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1687, allocations: 0 / 0.6873 GB, free: 8.586 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.1689, allocations: 16 kB / 0.6873 GB, free: 8.57 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 9.912e-05/0.169, allocations: 103.2 kB / 0.6874 GB, free: 8.457 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.1691, allocations: 40.48 kB / 0.6875 GB, free: 8.418 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1691, allocations: 4 kB / 0.6875 GB, free: 8.414 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.456e-05/0.1692, allocations: 19.94 kB / 0.6875 GB, free: 8.395 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.1694, allocations: 4 kB / 0.6875 GB, free: 8.391 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/0.1699, allocations: 347.8 kB / 0.6878 GB, free: 8.023 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.1701, allocations: 0.6848 MB / 0.6885 GB, free: 7.312 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.568e-05/0.1702, allocations: 11.98 kB / 0.6885 GB, free: 7.301 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.1702, allocations: 11.44 kB / 0.6885 GB, free: 7.289 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1702, allocations: 0 / 0.6885 GB, free: 7.289 MB / 494.1 MB Notification: Performance of Templates: time 0.00246/0.1727, allocations: 0.602 MB / 0.6891 GB, free: 6.688 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)