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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001077/0.001077, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.248/1.248, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002064/0.002065, allocations: 284 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9071/0.9071, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 99.42 kB / 0.5966 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1432, allocations: 86.97 MB / 0.6816 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002086/0.1454, allocations: 1.273 MB / 0.6828 GB, free: 6.203 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3767/0.5221, allocations: 137.7 MB / 0.8173 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.5221, allocations: 0 / 0.8173 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.5222, allocations: 3.938 kB / 0.8173 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.821e-05/0.5223, allocations: 7.984 kB / 0.8173 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.5235, allocations: 472.2 kB / 0.8178 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.819e-05/0.5236, allocations: 43.84 kB / 0.8178 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.307e-05/0.5236, allocations: 0 / 0.8178 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.248e-05/0.5237, allocations: 19.98 kB / 0.8178 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.5238, allocations: 19.91 kB / 0.8178 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.5238, allocations: 0 / 0.8178 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.5252, allocations: 0.8364 MB / 0.8187 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.5252, allocations: 4 kB / 0.8187 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.5253, allocations: 27.91 kB / 0.8187 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006173/0.5259, allocations: 439.2 kB / 0.8191 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5259, allocations: 1.875 kB / 0.8191 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5259, allocations: 0 / 0.8191 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.5259, allocations: 0 / 0.8191 GB, free: 1.797 MB / 0.5762 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.0004507/0.5264, allocations: 370 kB / 0.8195 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.5264, allocations: 8.031 kB / 0.8195 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.5266, allocations: 17.55 kB / 0.8195 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.722e-05/0.5267, allocations: 160.4 kB / 0.8196 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.5267, allocations: 12.31 kB / 0.8196 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.5267, allocations: 12.22 kB / 0.8197 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.5269, allocations: 61.59 kB / 0.8197 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.5269, allocations: 0 / 0.8197 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5269, allocations: 0 / 0.8197 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.5269, allocations: 0 / 0.8197 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.115e-05/0.527, allocations: 23.97 kB / 0.8197 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.5272, allocations: 165.7 kB / 0.8199 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.472e-05/0.5273, allocations: 54.5 kB / 0.8199 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.731e-05/0.5273, allocations: 16.86 kB / 0.82 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.5375, allocations: 3.205 MB / 0.8231 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.5376, allocations: 35.06 kB / 0.8231 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.5376, allocations: 0 / 0.8231 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.03818/0.5758, allocations: 15 MB / 0.8378 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.5758, allocations: 55.41 kB / 0.8378 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.107e-05/0.5759, allocations: 93.84 kB / 0.8379 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.5759, allocations: 29.7 kB / 0.838 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.576, allocations: 84.27 kB / 0.838 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.576, allocations: 47.38 kB / 0.8381 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.5761, allocations: 29.72 kB / 0.8381 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.5762, allocations: 318.8 kB / 0.8384 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.261e-05/0.5762, allocations: 23.98 kB / 0.8384 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.185e-05/0.5763, allocations: 23.94 kB / 0.8385 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.5764, allocations: 67.78 kB / 0.8385 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.5764, allocations: 0 / 0.8385 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002064/0.5766, allocations: 105.6 kB / 0.8386 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.5766, allocations: 8 kB / 0.8386 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5767, allocations: 7.984 kB / 0.8386 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5767, allocations: 0 / 0.8386 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.5768, allocations: 30.81 kB / 0.8387 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.5768, allocations: 0 / 0.8387 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.474e-05/0.5768, allocations: 0 / 0.8387 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.5769, allocations: 11.98 kB / 0.8387 GB, free: 13.3 MB / 0.6075 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 7.914e-05/0.5769, allocations: 117.8 kB / 0.8388 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/0.577, allocations: 0 / 0.8388 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.5773, allocations: 137.4 kB / 0.8389 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.5773, allocations: 4 kB / 0.8389 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5773, allocations: 0 / 0.8389 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5773, allocations: 0 / 0.8389 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.5774, allocations: 173.6 kB / 0.8391 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5774, allocations: 0 / 0.8391 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.5776, allocations: 27.98 kB / 0.8391 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5776, allocations: 4 kB / 0.8391 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.5776, allocations: 0 / 0.8391 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.5776, allocations: 4 kB / 0.8391 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5776, allocations: 0 / 0.8391 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.5779, allocations: 156.9 kB / 0.8393 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.275e-05/0.578, allocations: 93.05 kB / 0.8394 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.578, allocations: 0 / 0.8394 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.5781, allocations: 15.98 kB / 0.8394 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.5782, allocations: 11.98 kB / 0.8394 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.5782, allocations: 4 kB / 0.8394 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.82e-05/0.5782, allocations: 75.28 kB / 0.8395 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5782, allocations: 0 / 0.8395 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001508/0.5797, allocations: 0.5663 MB / 0.84 GB, free: 11.82 MB / 0.6075 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.002751/0.5825, allocations: 364.3 kB / 0.8404 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001674/0.5827, allocations: 71.86 kB / 0.8404 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5827, allocations: 0 / 0.8404 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.13e-05/0.5828, allocations: 39.92 kB / 0.8405 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.5829, allocations: 11.94 kB / 0.8405 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005642/0.5835, allocations: 348.4 kB / 0.8408 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.5837, allocations: 0.6884 MB / 0.8415 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.314e-05/0.5838, allocations: 24.97 kB / 0.8415 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.5839, allocations: 19.44 kB / 0.8415 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.5839, allocations: 4 kB / 0.8415 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of Templates: time 0.03139/0.6153, allocations: 24.25 MB / 0.8652 GB, free: 1.949 MB / 0.6231 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1)