Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001575/0.001575, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.002/1.002, allocations: 143.3 MB / 434.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003193, allocations: 12 kB / 0.5158 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1637, allocations: 83.42 MB / 0.5973 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001238/0.165, allocations: 0.9627 MB / 0.5982 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003185/0.1682, allocations: 2.566 MB / 0.6007 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.127e-05/0.1682, allocations: 0 / 0.6007 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.1683, allocations: 3.984 kB / 0.6007 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.836e-05/0.1683, allocations: 8 kB / 0.6007 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.1687, allocations: 83.72 kB / 0.6008 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.953e-05/0.1688, allocations: 27.95 kB / 0.6008 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.1688, allocations: 0 / 0.6008 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004452/0.1693, allocations: 139.7 kB / 0.601 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.117e-05/0.1693, allocations: 19.92 kB / 0.601 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1693, allocations: 8 kB / 0.601 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.1695, allocations: 47.91 kB / 0.601 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.1695, allocations: 11.94 kB / 0.601 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.1695, allocations: 29.7 kB / 0.6011 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.954e-05/0.1696, allocations: 27.95 kB / 0.6011 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.1696, allocations: 0 / 0.6011 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1697, allocations: 0 / 0.6011 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.1697, allocations: 0 / 0.6011 GB, free: 3.949 MB / 0.4981 GB 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.0003172/0.17, allocations: 335.6 kB / 0.6014 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.17, allocations: 12.03 kB / 0.6014 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.1701, allocations: 11.86 kB / 0.6014 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.12e-05/0.1702, allocations: 163.1 kB / 0.6016 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1702, allocations: 4 kB / 0.6016 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.1702, allocations: 4 kB / 0.6016 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.1703, allocations: 57.61 kB / 0.6017 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.1704, allocations: 0 / 0.6017 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1704, allocations: 0 / 0.6017 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1704, allocations: 4 kB / 0.6017 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.806e-05/0.1704, allocations: 23.92 kB / 0.6017 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.1706, allocations: 177.6 kB / 0.6019 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.273e-05/0.1707, allocations: 46.56 kB / 0.6019 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006529/0.1714, allocations: 0.5984 MB / 0.6025 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.1714, allocations: 34.56 kB / 0.6025 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.093e-06/0.1714, allocations: 0 / 0.6025 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005229/0.1719, allocations: 298.5 kB / 0.6028 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.172, allocations: 55.41 kB / 0.6029 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.172, allocations: 105.8 kB / 0.603 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1721, allocations: 25.7 kB / 0.603 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.1721, allocations: 88.05 kB / 0.6031 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.1721, allocations: 35.55 kB / 0.6031 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.1721, allocations: 0 / 0.6031 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.1722, allocations: 318.8 kB / 0.6034 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.772e-05/0.1723, allocations: 15.98 kB / 0.6034 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-05/0.1723, allocations: 53.08 kB / 0.6035 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.911e-05/0.1724, allocations: 20 kB / 0.6035 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1724, allocations: 0 / 0.6035 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001355/0.1725, allocations: 93.55 kB / 0.6036 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1725, allocations: 11.95 kB / 0.6036 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1726, allocations: 0 / 0.6036 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1726, allocations: 4 kB / 0.6036 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.883e-05/0.1727, allocations: 23.92 kB / 0.6036 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1727, allocations: 128 / 0.6036 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/0.1727, allocations: 8 kB / 0.6036 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1727, allocations: 4 kB / 0.6036 GB, free: 0.9727 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.698e-05/0.1728, allocations: 113.8 kB / 0.6037 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.1728, allocations: 3.906 kB / 0.6037 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.1729, allocations: 11.92 kB / 0.6038 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1729, allocations: 4 kB / 0.6038 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1729, allocations: 0 / 0.6038 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1729, allocations: 0 / 0.6038 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.1731, allocations: 177.7 kB / 0.6039 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1731, allocations: 3.938 kB / 0.6039 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.819e-05/0.1732, allocations: 19.92 kB / 0.6039 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1732, allocations: 0 / 0.6039 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1733, allocations: 4 kB / 0.604 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1733, allocations: 4.391 kB / 0.604 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1733, allocations: 0 / 0.604 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.1734, allocations: 167.6 kB / 0.6041 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.1735, allocations: 89.39 kB / 0.6042 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.1735, allocations: 12.03 kB / 0.6042 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.1736, allocations: 7.938 kB / 0.6042 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.1737, allocations: 3.953 kB / 0.6042 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.1737, allocations: 7.984 kB / 0.6042 GB, free: 272 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.304e-05/0.1737, allocations: 83.27 kB / 0.6043 GB, free: 188 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1737, allocations: 0 / 0.6043 GB, free: 188 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002488/0.174, allocations: 12 kB / 0.6043 GB, free: 176 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001306/0.1741, allocations: 111.2 kB / 0.6044 GB, free: 52 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.963e-05/0.1742, allocations: 39.98 kB / 0.6045 GB, free: 12 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1742, allocations: 0 / 0.6045 GB, free: 12 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.2529/0.4271, allocations: 15.02 kB / 0.6045 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.4274, allocations: 4.219 kB / 0.6045 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005542/0.4279, allocations: 378.8 kB / 0.6048 GB, free: 41.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.184e-05/0.4281, allocations: 0.6938 MB / 0.6055 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.482e-05/0.4281, allocations: 11.89 kB / 0.6055 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.4281, allocations: 10.31 kB / 0.6055 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of SimCode: time 1.463e-06/0.4281, allocations: 0 / 0.6055 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of Templates: time 0.002356/0.4305, allocations: 0.5761 MB / 0.6061 GB, free: 41.11 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: