Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000876/0.0008758, allocations: 99.55 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.0008906/0.0008906, allocations: 177.3 kB / 15.94 MB, free: 228 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.32/1.32, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9777/0.9777, allocations: 143.3 MB / 434.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004384, allocations: 8 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1666, allocations: 83.41 MB / 0.5973 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001125/0.1678, allocations: 0.9705 MB / 0.5982 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003121/0.1709, allocations: 2.827 MB / 0.601 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.421e-05/0.171, allocations: 0 / 0.601 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.142e-05/0.171, allocations: 0 / 0.601 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.389e-05/0.171, allocations: 11.97 kB / 0.601 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.1714, allocations: 83.72 kB / 0.6011 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.953e-05/0.1715, allocations: 23.95 kB / 0.6011 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.1715, allocations: 4 kB / 0.6011 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.535e-05/0.1716, allocations: 27.91 kB / 0.6011 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.589e-05/0.1717, allocations: 15.92 kB / 0.6011 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.1717, allocations: 4 kB / 0.6011 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.1719, allocations: 59.91 kB / 0.6012 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.1719, allocations: 11.91 kB / 0.6012 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.172, allocations: 33.7 kB / 0.6012 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.1721, allocations: 32.23 kB / 0.6013 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.1721, allocations: 0 / 0.6013 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.01e-07/0.1721, allocations: 0 / 0.6013 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.1721, allocations: 0 / 0.6013 GB, free: 3.699 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.0003207/0.1724, allocations: 343.3 kB / 0.6016 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.1724, allocations: 8.031 kB / 0.6016 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.276e-05/0.1725, allocations: 11.89 kB / 0.6016 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.256e-05/0.1726, allocations: 163 kB / 0.6018 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1727, allocations: 8 kB / 0.6018 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.1727, allocations: 0 / 0.6018 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.1728, allocations: 57.61 kB / 0.6018 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.1728, allocations: 0 / 0.6018 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1729, allocations: 4 kB / 0.6018 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1729, allocations: 4 kB / 0.6018 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.842e-05/0.1729, allocations: 15.97 kB / 0.6019 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.1731, allocations: 165.6 kB / 0.602 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.253e-05/0.1732, allocations: 50.56 kB / 0.6021 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006414/0.1738, allocations: 0.6025 MB / 0.6027 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.1739, allocations: 34.56 kB / 0.6027 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.1739, allocations: 0 / 0.6027 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005233/0.1744, allocations: 298.2 kB / 0.603 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.1744, allocations: 51.41 kB / 0.603 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.366e-05/0.1745, allocations: 101.8 kB / 0.6031 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1745, allocations: 25.7 kB / 0.6031 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.1746, allocations: 92.05 kB / 0.6032 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.1746, allocations: 23.56 kB / 0.6033 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.1746, allocations: 8 kB / 0.6033 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.012e-05/0.1747, allocations: 314.8 kB / 0.6036 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.1747, allocations: 12 kB / 0.6036 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.776e-05/0.1748, allocations: 57.08 kB / 0.6036 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.622e-05/0.1748, allocations: 16 kB / 0.6036 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1748, allocations: 4 kB / 0.6036 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001297/0.175, allocations: 93.55 kB / 0.6037 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.175, allocations: 7.953 kB / 0.6037 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.175, allocations: 3.984 kB / 0.6037 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.175, allocations: 8.406 kB / 0.6038 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.417e-05/0.1751, allocations: 16 kB / 0.6038 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1751, allocations: 7.938 kB / 0.6038 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.615e-05/0.1752, allocations: 0 / 0.6038 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1752, allocations: 4 kB / 0.6038 GB, free: 0.7422 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.069e-05/0.1753, allocations: 117.8 kB / 0.6039 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.1753, allocations: 11.89 kB / 0.6039 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.1753, allocations: 11.92 kB / 0.6039 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1753, allocations: 3.938 kB / 0.6039 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.1753, allocations: 4.438 kB / 0.6039 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1753, allocations: 0 / 0.6039 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.1756, allocations: 177.7 kB / 0.6041 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1756, allocations: 7.938 kB / 0.6041 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.523e-05/0.1757, allocations: 19.94 kB / 0.6041 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1757, allocations: 3.984 kB / 0.6041 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1757, allocations: 0 / 0.6041 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.1757, allocations: 3.953 kB / 0.6041 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1757, allocations: 0 / 0.6041 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.1759, allocations: 163.5 kB / 0.6043 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.1759, allocations: 89.05 kB / 0.6044 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.176, allocations: 4 kB / 0.6044 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1761, allocations: 4 kB / 0.6044 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.1761, allocations: 7.938 kB / 0.6044 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.1761, allocations: 4 kB / 0.6044 GB, free: 28 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.271/0.4471, allocations: 83.28 kB / 0.6045 GB, free: 41.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4471, allocations: 0 / 0.6045 GB, free: 41.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003481/0.4475, allocations: 7.781 kB / 0.6045 GB, free: 41.45 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 (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.0001327/0.4476, allocations: 105 kB / 0.6046 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001406/0.4478, allocations: 42.8 kB / 0.6046 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.4478, allocations: 0.5 kB / 0.6046 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.618e-05/0.4478, allocations: 16.27 kB / 0.6046 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.4481, allocations: 5.234 kB / 0.6046 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.4486, allocations: 386.4 kB / 0.605 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.4487, allocations: 0.6956 MB / 0.6057 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.298e-05/0.4488, allocations: 10.14 kB / 0.6057 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.4488, allocations: 10.47 kB / 0.6057 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.4488, allocations: 0 / 0.6057 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of Templates: time 0.002533/0.4514, allocations: 0.5742 MB / 0.6063 GB, free: 40.4 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: