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.001286/0.001286, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001391/0.00139, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.247/1.247, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00207/0.00207, allocations: 290.2 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9047/0.9047, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001779, allocations: 99.61 kB / 0.5966 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.151, allocations: 86.97 MB / 0.6816 GB, free: 7.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002366/0.1534, allocations: 1.27 MB / 0.6828 GB, free: 6.223 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003543/0.1569, allocations: 2.915 MB / 0.6857 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.118e-05/0.157, allocations: 0 / 0.6857 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.157, allocations: 7.922 kB / 0.6857 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.188e-05/0.1571, allocations: 7.922 kB / 0.6857 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.1576, allocations: 99.48 kB / 0.6858 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.169e-05/0.1576, allocations: 39.91 kB / 0.6858 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.151e-05/0.1577, allocations: 4 kB / 0.6858 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004549/0.1581, allocations: 159.5 kB / 0.686 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.332e-05/0.1582, allocations: 15.94 kB / 0.686 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.418e-06/0.1582, allocations: 0 / 0.686 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.1584, allocations: 71.8 kB / 0.6861 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.1584, allocations: 4 kB / 0.6861 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.1584, allocations: 19.92 kB / 0.6861 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.1586, allocations: 67.8 kB / 0.6861 GB, free: 2.805 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1586, allocations: 0 / 0.6861 GB, free: 2.805 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1586, allocations: 0 / 0.6861 GB, free: 2.805 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1586, allocations: 4 kB / 0.6861 GB, free: 2.801 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.0003675/0.159, allocations: 343.5 kB / 0.6865 GB, free: 2.418 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1591, allocations: 8.031 kB / 0.6865 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.1591, allocations: 8.844 kB / 0.6865 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.972e-05/0.1592, allocations: 160.4 kB / 0.6866 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1592, allocations: 4.375 kB / 0.6866 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.1592, allocations: 8.375 kB / 0.6867 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1594, allocations: 61.72 kB / 0.6867 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.1594, allocations: 4 kB / 0.6867 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1594, allocations: 0 / 0.6867 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1594, allocations: 0 / 0.6867 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.256e-05/0.1595, allocations: 23.97 kB / 0.6867 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.1596, allocations: 165.7 kB / 0.6869 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.526e-05/0.1597, allocations: 46.56 kB / 0.6869 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.1598, allocations: 20.78 kB / 0.687 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006726/0.1605, allocations: 0.5946 MB / 0.6875 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.1605, allocations: 30.56 kB / 0.6876 GB, free: 1.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1605, allocations: 0 / 0.6876 GB, free: 1.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005422/0.161, allocations: 302.5 kB / 0.6879 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.1611, allocations: 63.41 kB / 0.6879 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.967e-05/0.1612, allocations: 93.86 kB / 0.688 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.1612, allocations: 33.64 kB / 0.688 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.1612, allocations: 84.05 kB / 0.6881 GB, free: 432 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.1613, allocations: 31.55 kB / 0.6882 GB, free: 400 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.1613, allocations: 29.66 kB / 0.6882 GB, free: 364 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.1614, allocations: 318.8 kB / 0.6885 GB, free: 36 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.246e-05/0.1614, allocations: 12 kB / 0.6885 GB, free: 24 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.243/0.4045, allocations: 57.03 kB / 0.6886 GB, free: 19.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.4046, allocations: 68.36 kB / 0.6886 GB, free: 19.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4046, allocations: 1.781 kB / 0.6886 GB, free: 19.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001595/0.4048, allocations: 94.58 kB / 0.6887 GB, free: 19.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4048, allocations: 7.688 kB / 0.6887 GB, free: 19.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4048, allocations: 3.438 kB / 0.6887 GB, free: 19.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4048, allocations: 2.281 kB / 0.6887 GB, free: 19.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.681e-05/0.4049, allocations: 19.84 kB / 0.6887 GB, free: 19.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.4049, allocations: 4.438 kB / 0.6887 GB, free: 19.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.405, allocations: 8.656 kB / 0.6888 GB, free: 19.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.405, allocations: 5.594 kB / 0.6888 GB, free: 19.13 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 5.703e-05/0.4051, allocations: 120.9 kB / 0.6889 GB, free: 19.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.4051, allocations: 6.594 kB / 0.6889 GB, free: 19.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.4051, allocations: 8.266 kB / 0.6889 GB, free: 19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.4052, allocations: 3.094 kB / 0.6889 GB, free: 19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4052, allocations: 0.5156 kB / 0.6889 GB, free: 19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4052, allocations: 1.391 kB / 0.6889 GB, free: 19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.4054, allocations: 176.3 kB / 0.6891 GB, free: 18.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4054, allocations: 3.938 kB / 0.6891 GB, free: 18.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.618e-05/0.4055, allocations: 16.64 kB / 0.6891 GB, free: 18.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4055, allocations: 0.75 kB / 0.6891 GB, free: 18.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.4055, allocations: 2.391 kB / 0.6891 GB, free: 18.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4055, allocations: 0 / 0.6891 GB, free: 18.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4055, allocations: 1.766 kB / 0.6891 GB, free: 18.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.4057, allocations: 184.3 kB / 0.6893 GB, free: 18.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.4057, allocations: 85.59 kB / 0.6893 GB, free: 18.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.4057, allocations: 5.359 kB / 0.6893 GB, free: 18.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.4059, allocations: 3.953 kB / 0.6894 GB, free: 18.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.4059, allocations: 3.938 kB / 0.6894 GB, free: 18.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.4059, allocations: 6.719 kB / 0.6894 GB, free: 18.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.049e-05/0.4059, allocations: 78.77 kB / 0.6894 GB, free: 18.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4059, allocations: 1.312 kB / 0.6894 GB, free: 18.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.4062, allocations: 19.28 kB / 0.6895 GB, free: 18.51 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.0001042/0.4063, allocations: 99.95 kB / 0.6896 GB, free: 18.42 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.4064, allocations: 44.64 kB / 0.6896 GB, free: 18.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4064, allocations: 0.8438 kB / 0.6896 GB, free: 18.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.794e-05/0.4064, allocations: 17.44 kB / 0.6896 GB, free: 18.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.4067, allocations: 8.016 kB / 0.6896 GB, free: 18.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.4072, allocations: 332.7 kB / 0.6899 GB, free: 18.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.4073, allocations: 0.6838 MB / 0.6906 GB, free: 17.53 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.244e-05/0.4074, allocations: 8.812 kB / 0.6906 GB, free: 17.53 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.4074, allocations: 11.56 kB / 0.6906 GB, free: 17.52 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4074, allocations: 0 / 0.6906 GB, free: 17.52 MB / 494.1 MB Notification: Performance of Templates: time 0.002647/0.4101, allocations: 0.6293 MB / 0.6912 GB, free: 17.45 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)