Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7979/0.7979, allocations: 143.4 MB / 159.2 MB, free: 4.887 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 179.7 kB / 191.9 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 447.3 MB, free: 5.875 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000988/0.0009879, allocations: 103.5 kB / 0.517 GB, free: 3.727 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002845/0.002845, allocations: 279.6 kB / 0.5973 GB, free: 49.4 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 79.86 kB / 0.6885 GB, free: 3.871 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3886, allocations: 81.3 MB / 0.7679 GB, free: 27.69 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002425/0.3911, allocations: 1.328 MB / 0.7692 GB, free: 26.36 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.1528/0.5439, allocations: 135.7 MB / 0.9017 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/0.544, allocations: 0 / 0.9017 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.438e-05/0.5441, allocations: 7.922 kB / 0.9017 GB, free: 2.121 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.462e-05/0.5442, allocations: 4 kB / 0.9018 GB, free: 2.117 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.5456, allocations: 373.4 kB / 0.9021 GB, free: 1.754 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.916e-05/0.5457, allocations: 39.84 kB / 0.9021 GB, free: 1.715 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/0.5457, allocations: 4 kB / 0.9021 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.5458, allocations: 23.92 kB / 0.9022 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.451e-05/0.5459, allocations: 19.97 kB / 0.9022 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.5459, allocations: 4 kB / 0.9022 GB, free: 1.664 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.5473, allocations: 0.8153 MB / 0.903 GB, free: 0.8477 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.5473, allocations: 11.94 kB / 0.903 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.5474, allocations: 23.91 kB / 0.903 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006198/0.548, allocations: 447.1 kB / 0.9035 GB, free: 384 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.548, allocations: 3.938 kB / 0.9035 GB, free: 380 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.092e-06/0.548, allocations: 0 / 0.9035 GB, free: 380 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.548, allocations: 0 / 0.9035 GB, free: 380 kB / 0.5573 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.3705/0.9185, allocations: 361.9 kB / 0.9038 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.467e-05/0.9186, allocations: 10.48 kB / 0.9038 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002383/0.9188, allocations: 11.88 kB / 0.9038 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.32e-05/0.919, allocations: 164.3 kB / 0.904 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.919, allocations: 5.844 kB / 0.904 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.919, allocations: 9.641 kB / 0.904 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.9192, allocations: 56.61 kB / 0.904 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.9192, allocations: 0.8438 kB / 0.904 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.9192, allocations: 5.375 kB / 0.9041 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.9192, allocations: 1.625 kB / 0.9041 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.645e-05/0.9193, allocations: 20.52 kB / 0.9041 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.9195, allocations: 166.5 kB / 0.9042 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.9196, allocations: 53.66 kB / 0.9043 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.9197, allocations: 18.19 kB / 0.9043 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01261/0.9323, allocations: 3.17 MB / 0.9074 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.9324, allocations: 32.84 kB / 0.9074 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 3.216e-06/0.9324, allocations: 2.438 kB / 0.9074 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.04247/0.9749, allocations: 14.87 MB / 0.922 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.9749, allocations: 59.41 kB / 0.922 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.037e-05/0.975, allocations: 97.84 kB / 0.9221 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.975, allocations: 25.7 kB / 0.9221 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.638e-05/0.975, allocations: 80.14 kB / 0.9222 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.9751, allocations: 47.36 kB / 0.9222 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.9751, allocations: 25.72 kB / 0.9223 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.232e-05/0.9752, allocations: 314.8 kB / 0.9226 GB, free: 127 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.9e-05/0.9752, allocations: 32.11 kB / 0.9226 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.463e-05/0.9753, allocations: 20 kB / 0.9226 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.9754, allocations: 73.41 kB / 0.9227 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.9754, allocations: 0 / 0.9227 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001771/0.9756, allocations: 105.5 kB / 0.9228 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.9756, allocations: 7.984 kB / 0.9228 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.9756, allocations: 0 / 0.9228 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.9756, allocations: 4 kB / 0.9228 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.9757, allocations: 19.98 kB / 0.9228 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.9758, allocations: 4 kB / 0.9228 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.387e-05/0.9758, allocations: 11.94 kB / 0.9228 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.9758, allocations: 9.609 kB / 0.9228 GB, free: 126.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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.169e-05/0.9759, allocations: 113.8 kB / 0.923 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.9759, allocations: 7.938 kB / 0.923 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.9762, allocations: 125.5 kB / 0.9231 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.9762, allocations: 0 / 0.9231 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9762, allocations: 3.938 kB / 0.9231 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.9762, allocations: 0 / 0.9231 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.9763, allocations: 177.6 kB / 0.9233 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.9763, allocations: 7.938 kB / 0.9233 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.9764, allocations: 19.98 kB / 0.9233 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.9764, allocations: 4 kB / 0.9233 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.9764, allocations: 4 kB / 0.9233 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.9765, allocations: 0 / 0.9233 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.9765, allocations: 4 kB / 0.9233 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6742/1.651, allocations: 175 MB / 1.094 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/1.651, allocations: 93.05 kB / 1.094 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/1.651, allocations: 7.938 kB / 1.094 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/1.651, allocations: 15.98 kB / 1.094 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/1.651, allocations: 4 kB / 1.094 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/1.651, allocations: 7.984 kB / 1.094 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.044e-05/1.651, allocations: 79.28 kB / 1.094 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.81e-07/1.651, allocations: 0 / 1.094 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00212/1.653, allocations: 0.6132 MB / 1.095 GB, free: 13.92 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,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 (11): * Single equations (assignments): 11 * 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.004023/1.657, allocations: 420 kB / 1.095 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002539/1.658, allocations: 75.91 kB / 1.095 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/1.658, allocations: 0 / 1.095 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.48e-05/1.658, allocations: 35.92 kB / 1.096 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/1.658, allocations: 8 kB / 1.096 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007526/1.659, allocations: 492.5 kB / 1.096 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/1.659, allocations: 0.6888 MB / 1.097 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001165/1.659, allocations: 28.75 kB / 1.097 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/1.659, allocations: 15.44 kB / 1.097 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/1.659, allocations: 0 / 1.097 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.04001/1.699, allocations: 24.77 MB / 1.121 GB, free: 3.359 MB / 0.6355 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1)