Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009792/0.0009799, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.006994/0.006994, allocations: 172.4 kB / 16.27 MB, free: 6.648 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.479/1.479, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.014/3.014, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003539, allocations: 9.625 kB / 0.9157 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3624, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002507/0.365, allocations: 0.9959 MB / 1.075 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1758/0.5408, allocations: 134.2 MB / 1.206 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.387e-05/0.5409, allocations: 0 / 1.206 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.5409, allocations: 7.922 kB / 1.206 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.759e-05/0.541, allocations: 4 kB / 1.206 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.5422, allocations: 366.8 kB / 1.207 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.804e-05/0.5423, allocations: 43.84 kB / 1.207 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.5423, allocations: 0 / 1.207 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.175e-05/0.5424, allocations: 27.91 kB / 1.207 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.334e-05/0.5424, allocations: 11.98 kB / 1.207 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.5425, allocations: 11.94 kB / 1.207 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.5439, allocations: 0.8153 MB / 1.207 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.544, allocations: 15.92 kB / 1.207 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/0.5441, allocations: 45.62 kB / 1.207 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006087/0.5447, allocations: 435.4 kB / 1.208 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5447, allocations: 0 / 1.208 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5447, allocations: 0 / 1.208 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.5447, allocations: 0 / 1.208 GB, free: 14.07 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.0005716/0.5453, allocations: 359.5 kB / 1.208 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.5453, allocations: 8.031 kB / 1.208 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.5456, allocations: 20.77 kB / 1.208 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.5457, allocations: 172.3 kB / 1.208 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.5458, allocations: 8.375 kB / 1.208 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.5458, allocations: 8.125 kB / 1.208 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.546, allocations: 53.67 kB / 1.208 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.546, allocations: 0 / 1.208 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.546, allocations: 0 / 1.208 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.546, allocations: 0 / 1.208 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.228e-05/0.5461, allocations: 19.98 kB / 1.209 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.5463, allocations: 165.7 kB / 1.209 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.5465, allocations: 54.5 kB / 1.209 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/0.5465, allocations: 16.8 kB / 1.209 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01137/0.5579, allocations: 3.202 MB / 1.212 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.471e-05/0.558, allocations: 38.56 kB / 1.212 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 2.966e-06/0.558, allocations: 0 / 1.212 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.04103/0.5991, allocations: 14.25 MB / 1.226 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.5992, allocations: 55.34 kB / 1.226 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.5993, allocations: 101.9 kB / 1.226 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.5993, allocations: 25.7 kB / 1.226 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.5994, allocations: 80.14 kB / 1.226 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.358e-05/0.5994, allocations: 47.34 kB / 1.226 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.5995, allocations: 21.7 kB / 1.226 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5996, allocations: 314.8 kB / 1.226 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.207e-05/0.5997, allocations: 31.98 kB / 1.226 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.164e-05/0.5998, allocations: 23.98 kB / 1.226 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.5999, allocations: 60.98 kB / 1.227 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5999, allocations: 0 / 1.227 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002476/0.6002, allocations: 105.6 kB / 1.227 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.6002, allocations: 5.719 kB / 1.227 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.6002, allocations: 3.938 kB / 1.227 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.6003, allocations: 7.938 kB / 1.227 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.6004, allocations: 19.98 kB / 1.227 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.6004, allocations: 4 kB / 1.227 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.336e-05/0.6005, allocations: 4 kB / 1.227 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.6005, allocations: 4 kB / 1.227 GB, free: 10.36 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 0.0001157/0.6006, allocations: 118.4 kB / 1.227 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.6007, allocations: 7.906 kB / 1.227 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.601, allocations: 125.5 kB / 1.227 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.601, allocations: 3.938 kB / 1.227 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.601, allocations: 4 kB / 1.227 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.601, allocations: 3.984 kB / 1.227 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.6012, allocations: 177.6 kB / 1.227 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.6013, allocations: 4 kB / 1.227 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.6014, allocations: 16 kB / 1.227 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.6014, allocations: 4 kB / 1.227 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.6014, allocations: 7.984 kB / 1.227 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.6014, allocations: 0 / 1.227 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.6014, allocations: 7.875 kB / 1.227 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.6018, allocations: 149 kB / 1.227 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.34e-05/0.6019, allocations: 93.12 kB / 1.227 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.6019, allocations: 4 kB / 1.227 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.6021, allocations: 12 kB / 1.227 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.6021, allocations: 7.984 kB / 1.227 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.6021, allocations: 11.94 kB / 1.227 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.799e-05/0.6022, allocations: 87.27 kB / 1.227 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6022, allocations: 0 / 1.227 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003052/0.6053, allocations: 0.5663 MB / 1.228 GB, free: 8.863 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.003293/0.6086, allocations: 358.6 kB / 1.228 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.6088, allocations: 63.98 kB / 1.228 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6088, allocations: 0 / 1.228 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.193e-05/0.6089, allocations: 35.92 kB / 1.228 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.6091, allocations: 11.94 kB / 1.228 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006824/0.6098, allocations: 418.3 kB / 1.229 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.6102, allocations: 0.6848 MB / 1.23 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.803e-05/0.6103, allocations: 28.53 kB / 1.23 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.6103, allocations: 15.44 kB / 1.23 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of SimCode: time 3.8e-07/0.6103, allocations: 4 kB / 1.23 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of Templates: time 0.6865/1.297, allocations: 24.19 MB / 1.253 GB, free: 178.8 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Media.Examples.SteamDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_1.6_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1)