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.00141/0.00141, allocations: 111 kB / 15.99 MB, free: 5.891 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.001402/0.001402, allocations: 195.7 kB / 16.91 MB, free: 5.746 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.327/1.327, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002373/0.002372, allocations: 294.5 kB / 291 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9834/0.9834, allocations: 178.6 MB / 0.5076 GB, free: 4.727 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002573/0.002573, allocations: 101.5 kB / 0.6066 GB, free: 24.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.149, allocations: 89.16 MB / 0.6936 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002194/0.1512, allocations: 1.314 MB / 0.6949 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003333/0.1546, allocations: 2.906 MB / 0.6977 GB, free: 492 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.703e-05/0.1546, allocations: 4 kB / 0.6977 GB, free: 488 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.1546, allocations: 3.938 kB / 0.6978 GB, free: 484 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.947e-05/0.1547, allocations: 0 / 0.6978 GB, free: 484 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.1551, allocations: 95.61 kB / 0.6978 GB, free: 388 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.03e-05/0.1552, allocations: 35.91 kB / 0.6979 GB, free: 352 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.851e-05/0.1552, allocations: 3.984 kB / 0.6979 GB, free: 348 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003857/0.1556, allocations: 151.5 kB / 0.698 GB, free: 196 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.957e-05/0.1556, allocations: 23.91 kB / 0.698 GB, free: 172 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.1556, allocations: 0 / 0.698 GB, free: 172 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.1558, allocations: 59.83 kB / 0.6981 GB, free: 112 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.1558, allocations: 15.97 kB / 0.6981 GB, free: 96 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.1558, allocations: 15.94 kB / 0.6981 GB, free: 80 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.156, allocations: 44.16 kB / 0.6982 GB, free: 36 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.156, allocations: 0 / 0.6982 GB, free: 36 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.156, allocations: 0 / 0.6982 GB, free: 36 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.156, allocations: 0 / 0.6982 GB, free: 36 kB / 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.000402/0.1564, allocations: 347.4 kB / 0.6985 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.1564, allocations: 11.97 kB / 0.6985 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.1565, allocations: 4.938 kB / 0.6985 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.1566, allocations: 164.4 kB / 0.6987 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1566, allocations: 12.38 kB / 0.6987 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.1566, allocations: 8.281 kB / 0.6987 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.1567, allocations: 65.72 kB / 0.6988 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1568, allocations: 0 / 0.6988 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1568, allocations: 0 / 0.6988 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.1568, allocations: 0 / 0.6988 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.917e-05/0.1568, allocations: 19.98 kB / 0.6988 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.157, allocations: 169.6 kB / 0.6989 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.995e-05/0.1571, allocations: 50.56 kB / 0.699 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.1571, allocations: 16.86 kB / 0.699 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000667/0.1578, allocations: 0.5984 MB / 0.6996 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1579, allocations: 30.56 kB / 0.6996 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1579, allocations: 0 / 0.6996 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005425/0.1584, allocations: 310.4 kB / 0.6999 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.1584, allocations: 51.41 kB / 0.7 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.965e-05/0.1585, allocations: 101.8 kB / 0.7001 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.1585, allocations: 25.7 kB / 0.7001 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.1586, allocations: 84.05 kB / 0.7002 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.1586, allocations: 23.66 kB / 0.7002 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.1587, allocations: 29.7 kB / 0.7002 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1588, allocations: 326.8 kB / 0.7005 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.798e-05/0.1588, allocations: 11.98 kB / 0.7005 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.054e-05/0.1589, allocations: 57.08 kB / 0.7006 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.57e-05/0.159, allocations: 69.09 kB / 0.7007 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.159, allocations: 0 / 0.7007 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001355/0.1591, allocations: 101.6 kB / 0.7008 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1591, allocations: 8 kB / 0.7008 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1592, allocations: 0 / 0.7008 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1592, allocations: 4 kB / 0.7008 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-05/0.1592, allocations: 19.98 kB / 0.7008 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1593, allocations: 8.062 kB / 0.7008 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.746e-05/0.1593, allocations: 7.938 kB / 0.7008 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.1593, allocations: 4 kB / 0.7008 GB, free: 12.93 MB / 0.4981 GB 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.647e-05/0.1594, allocations: 113.8 kB / 0.7009 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.1594, allocations: 0 / 0.7009 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.1595, allocations: 15.89 kB / 0.7009 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1595, allocations: 4 kB / 0.7009 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1595, allocations: 0 / 0.7009 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1595, allocations: 7.875 kB / 0.7009 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.1597, allocations: 177.7 kB / 0.7011 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1597, allocations: 448 / 0.7011 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.092e-05/0.1598, allocations: 15.94 kB / 0.7011 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1598, allocations: 0 / 0.7011 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1598, allocations: 8 kB / 0.7011 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1598, allocations: 3.984 kB / 0.7011 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1599, allocations: 0 / 0.7011 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.16, allocations: 171.4 kB / 0.7013 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.1601, allocations: 89.14 kB / 0.7014 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.1601, allocations: 4 kB / 0.7014 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1602, allocations: 4 kB / 0.7014 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.1602, allocations: 3.984 kB / 0.7014 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1602, allocations: 7.938 kB / 0.7014 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.662e-05/0.1603, allocations: 79.28 kB / 0.7015 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1603, allocations: 0 / 0.7015 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002192/0.1605, allocations: 12 kB / 0.7015 GB, free: 12.13 MB / 0.4981 GB 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.0001207/0.1606, allocations: 111.2 kB / 0.7016 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.1608, allocations: 43.91 kB / 0.7016 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1608, allocations: 4 kB / 0.7016 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-05/0.1608, allocations: 8 kB / 0.7017 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.161, allocations: 12.88 kB / 0.7017 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005571/0.1616, allocations: 376.5 kB / 0.702 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.1619, allocations: 0.6813 MB / 0.7027 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.1619, allocations: 11.44 kB / 0.7027 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1619, allocations: 0 / 0.7027 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.002096/0.164, allocations: 0.788 MB / 0.7035 GB, free: 10.04 MB / 0.4981 GB 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)