Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00121/0.00121, allocations: 194.9 kB / 16.14 MB, free: 6.688 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.938/2.938, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 58.55 kB / 0.9113 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3739, allocations: 159.9 MB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002714/0.3767, allocations: 1.327 MB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1695/0.5461, allocations: 135.7 MB / 1.201 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.5462, allocations: 4 kB / 1.201 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.5463, allocations: 0 / 1.201 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.858e-05/0.5464, allocations: 11.91 kB / 1.201 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.5476, allocations: 370.8 kB / 1.202 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.523e-05/0.5477, allocations: 43.89 kB / 1.202 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.5477, allocations: 0 / 1.202 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.845e-05/0.5478, allocations: 23.92 kB / 1.202 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.884e-05/0.5479, allocations: 19.91 kB / 1.202 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.5479, allocations: 0 / 1.202 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.5497, allocations: 0.8231 MB / 1.203 GB, free: 116 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.5497, allocations: 8 kB / 1.203 GB, free: 108 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.5498, allocations: 19.91 kB / 1.203 GB, free: 88 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007484/0.5505, allocations: 447.3 kB / 1.203 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5505, allocations: 3.938 kB / 1.203 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5506, allocations: 0 / 1.203 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.5506, allocations: 0 / 1.203 GB, free: 15.64 MB / 0.9669 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.0006498/0.5512, allocations: 367.5 kB / 1.203 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.5513, allocations: 12.03 kB / 1.203 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.5515, allocations: 16.84 kB / 1.203 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.5516, allocations: 164.3 kB / 1.204 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.5516, allocations: 4.359 kB / 1.204 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.5517, allocations: 12.12 kB / 1.204 GB, free: 15 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.5518, allocations: 45.69 kB / 1.204 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.5519, allocations: 0 / 1.204 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.5519, allocations: 11.98 kB / 1.204 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.5519, allocations: 3.938 kB / 1.204 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.021e-05/0.552, allocations: 15.98 kB / 1.204 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.5522, allocations: 165.7 kB / 1.204 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.5524, allocations: 54.55 kB / 1.204 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.476e-05/0.5524, allocations: 24.78 kB / 1.204 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01037/0.5628, allocations: 3.166 MB / 1.207 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.5628, allocations: 30.56 kB / 1.207 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 4.378e-06/0.5629, allocations: 7.938 kB / 1.207 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.04094/0.6038, allocations: 14.85 MB / 1.221 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.6039, allocations: 59.41 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.139e-05/0.604, allocations: 89.86 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.604, allocations: 29.7 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.604, allocations: 84.14 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/0.6041, allocations: 39.36 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/0.6041, allocations: 37.7 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.6042, allocations: 318.8 kB / 1.222 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.6043, allocations: 28.11 kB / 1.222 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/0.6044, allocations: 19.98 kB / 1.222 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.6045, allocations: 64.8 kB / 1.222 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.6045, allocations: 0 / 1.222 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002128/0.6047, allocations: 101.6 kB / 1.222 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.6048, allocations: 5.719 kB / 1.222 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6048, allocations: 0 / 1.222 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.6048, allocations: 4 kB / 1.222 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.6049, allocations: 27.98 kB / 1.222 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.6049, allocations: 240 / 1.222 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/0.605, allocations: 4 kB / 1.222 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.605, allocations: 11.94 kB / 1.222 GB, free: 11.34 MB / 0.9825 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 9.261e-05/0.6051, allocations: 122.4 kB / 1.222 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.6051, allocations: 3.906 kB / 1.222 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.6054, allocations: 129.5 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.6054, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6054, allocations: 7.938 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6054, allocations: 0 / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.6056, allocations: 173.6 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6056, allocations: 3.984 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.6057, allocations: 31.92 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.6058, allocations: 0 / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.6058, allocations: 0 / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.6058, allocations: 0 / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.6058, allocations: 7.984 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.6061, allocations: 168.7 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.09e-05/0.6062, allocations: 81.14 kB / 1.223 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.6062, allocations: 8 kB / 1.223 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.6064, allocations: 15.98 kB / 1.223 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.6064, allocations: 11.94 kB / 1.223 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.6064, allocations: 11.98 kB / 1.223 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.157e-05/0.6065, allocations: 75.28 kB / 1.223 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6065, allocations: 3.938 kB / 1.223 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001732/0.6082, allocations: 0.5624 MB / 1.224 GB, free: 9.836 MB / 0.9825 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.003652/0.6119, allocations: 355 kB / 1.224 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001883/0.6121, allocations: 67.97 kB / 1.224 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6121, allocations: 0 / 1.224 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.756e-05/0.6121, allocations: 35.92 kB / 1.224 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.6124, allocations: 14.19 kB / 1.224 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.613, allocations: 359.7 kB / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.6133, allocations: 0.6887 MB / 1.225 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.6134, allocations: 24.55 kB / 1.225 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.6134, allocations: 15.44 kB / 1.225 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of SimCode: time 7.22e-07/0.6134, allocations: 0 / 1.225 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of Templates: time 0.6335/1.247, allocations: 24.21 MB / 1.249 GB, free: 181.4 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.SteamDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1)