Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.Examples.SteamProperties.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.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 195 kB / 16.53 MB, free: 6.699 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.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 472.6 MB / 0.7451 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 60.22 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3523, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1579/0.5102, allocations: 136.1 MB / 1.201 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02678/0.537, allocations: 22.68 MB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.5372, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.5376, allocations: 43.69 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.538, allocations: 99.34 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01923/0.5572, allocations: 6.943 MB / 1.23 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006382/0.5579, allocations: 243.9 kB / 1.23 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.043e-05/0.558, allocations: 17.5 kB / 1.23 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004248/0.5584, allocations: 147.4 kB / 1.231 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.5587, allocations: 91.66 kB / 1.231 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.5587, allocations: 8 kB / 1.231 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02529/0.584, allocations: 11.33 MB / 1.242 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.5842, allocations: 39.89 kB / 1.242 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.5844, allocations: 75.66 kB / 1.242 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01929/0.6037, allocations: 6.492 MB / 1.248 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.6037, allocations: 3.938 kB / 1.248 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6037, allocations: 0 / 1.248 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.6037, allocations: 0 / 1.248 GB, free: 1.531 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.004813/0.6086, allocations: 1.201 MB / 1.249 GB, free: 288 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.6086, allocations: 16.02 kB / 1.249 GB, free: 272 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.6099, allocations: 80.67 kB / 1.249 GB, free: 192 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5727/1.183, allocations: 218 kB / 1.25 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/1.183, allocations: 15.06 kB / 1.25 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/1.183, allocations: 16.34 kB / 1.25 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/1.184, allocations: 455.6 kB / 1.25 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.184, allocations: 0.9062 kB / 1.25 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/1.184, allocations: 9.156 kB / 1.25 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/1.184, allocations: 4.062 kB / 1.25 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/1.186, allocations: 0.5982 MB / 1.251 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/1.187, allocations: 0.8827 MB / 1.252 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008527/1.187, allocations: 256.7 kB / 1.252 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/1.188, allocations: 72.02 kB / 1.252 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08671/1.274, allocations: 35.05 MB / 1.286 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/1.274, allocations: 36.97 kB / 1.286 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 1.954e-06/1.274, allocations: 4 kB / 1.286 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001838/1.276, allocations: 416.2 kB / 1.287 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/1.276, allocations: 57.84 kB / 1.287 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/1.276, allocations: 143.8 kB / 1.287 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/1.276, allocations: 28.02 kB / 1.287 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/1.277, allocations: 107.1 kB / 1.287 GB, free: 161 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.345e-05/1.277, allocations: 92.22 kB / 1.287 GB, free: 161 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/1.277, allocations: 79.62 kB / 1.287 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.875e-05/1.277, allocations: 330.2 kB / 1.287 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/1.277, allocations: 80.11 kB / 1.287 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/1.277, allocations: 132 kB / 1.288 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/1.278, allocations: 218.3 kB / 1.288 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.278, allocations: 1.219 kB / 1.288 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007415/1.278, allocations: 298.8 kB / 1.288 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/1.278, allocations: 5.219 kB / 1.288 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.278, allocations: 3.812 kB / 1.288 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/1.278, allocations: 2.938 kB / 1.288 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/1.279, allocations: 83.56 kB / 1.288 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/1.279, allocations: 10.52 kB / 1.288 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/1.279, allocations: 21.06 kB / 1.288 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/1.279, allocations: 26.7 kB / 1.288 GB, free: 160.3 MB / 0.9981 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 (30): * Single equations (assignments): 30 * 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.0001051/1.279, allocations: 120.3 kB / 1.288 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/1.279, allocations: 20.94 kB / 1.288 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/1.281, allocations: 2.354 MB / 1.291 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/1.281, allocations: 9.172 kB / 1.291 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.281, allocations: 1.219 kB / 1.291 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/1.281, allocations: 7.984 kB / 1.291 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/1.284, allocations: 3.425 MB / 1.294 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.284, allocations: 2.375 kB / 1.294 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/1.284, allocations: 51.08 kB / 1.294 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/1.285, allocations: 0.9375 kB / 1.294 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/1.285, allocations: 7.031 kB / 1.294 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/1.285, allocations: 6.094 kB / 1.294 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.285, allocations: 3.984 kB / 1.294 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007032/1.285, allocations: 0.5539 MB / 1.295 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/1.285, allocations: 145.1 kB / 1.295 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/1.285, allocations: 5.344 kB / 1.295 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/1.286, allocations: 13.98 kB / 1.295 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/1.286, allocations: 12.61 kB / 1.295 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/1.286, allocations: 16.8 kB / 1.295 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.586e-05/1.286, allocations: 104.2 kB / 1.295 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.286, allocations: 5.312 kB / 1.295 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004233/1.29, allocations: 1.692 MB / 1.297 GB, free: 156.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.007672/1.298, allocations: 1.947 MB / 1.298 GB, free: 156 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006776/1.298, allocations: 337.5 kB / 1.299 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.298, allocations: 3.875 kB / 1.299 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002522/1.299, allocations: 236.6 kB / 1.299 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005273/1.299, allocations: 70.83 kB / 1.299 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008717/1.3, allocations: 0.6226 MB / 1.3 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/1.3, allocations: 0.7651 MB / 1.3 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004179/1.301, allocations: 410.4 kB / 1.301 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/1.301, allocations: 46.59 kB / 1.301 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/1.301, allocations: 0 / 1.301 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.06102/1.362, allocations: 59.6 MB / 1.359 GB, free: 96.66 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Media.Examples.SteamProperties.makefile (rm -f Buildings_1.6_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_1.6_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_1.6_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_1.6_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Examples.SteamProperties.pipe 2>&1)