Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001189/0.001189, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001328/0.001328, allocations: 191.5 kB / 16.25 MB, free: 6.617 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.477/1.477, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 64.39 kB / 0.9115 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3484, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1537/0.5021, allocations: 134.2 MB / 1.199 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02853/0.5307, allocations: 22.98 MB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.531, allocations: 7.938 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004252/0.5314, allocations: 39.73 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005771/0.5321, allocations: 83.48 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.02317/0.5553, allocations: 6.149 MB / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005946/0.5559, allocations: 251.9 kB / 1.228 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.797e-05/0.5559, allocations: 13.5 kB / 1.228 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004271/0.5564, allocations: 139.5 kB / 1.228 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.5566, allocations: 91.59 kB / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.5566, allocations: 12 kB / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0242/0.5808, allocations: 11.47 MB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.581, allocations: 35.89 kB / 1.239 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.5812, allocations: 75.67 kB / 1.239 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0177/0.5989, allocations: 6.515 MB / 1.245 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.599, allocations: 0 / 1.245 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.365e-06/0.599, allocations: 0 / 1.245 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.599, allocations: 0 / 1.245 GB, free: 4.16 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.004741/0.6037, allocations: 1.214 MB / 1.247 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.6038, allocations: 8.031 kB / 1.247 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.6051, allocations: 88.67 kB / 1.247 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.6054, allocations: 224.1 kB / 1.247 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.6054, allocations: 16.12 kB / 1.247 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.6054, allocations: 15.98 kB / 1.247 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.6068, allocations: 454.4 kB / 1.247 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.6068, allocations: 0 / 1.247 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.6068, allocations: 4 kB / 1.247 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.6068, allocations: 7.938 kB / 1.247 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.6082, allocations: 0.601 MB / 1.248 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.6095, allocations: 0.886 MB / 1.249 GB, free: 480 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008756/0.6104, allocations: 246.3 kB / 1.249 GB, free: 224 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.6105, allocations: 76.83 kB / 1.249 GB, free: 144 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7106/1.321, allocations: 35.04 MB / 1.283 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/1.321, allocations: 41.02 kB / 1.283 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/1.321, allocations: 0 / 1.283 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001872/1.323, allocations: 425.7 kB / 1.284 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/1.323, allocations: 54.75 kB / 1.284 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/1.323, allocations: 143.2 kB / 1.284 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/1.323, allocations: 31.7 kB / 1.284 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/1.323, allocations: 110.7 kB / 1.284 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.793e-05/1.324, allocations: 85.02 kB / 1.284 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/1.324, allocations: 83.94 kB / 1.284 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.449e-05/1.324, allocations: 322.1 kB / 1.285 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/1.324, allocations: 78.83 kB / 1.285 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/1.324, allocations: 133.3 kB / 1.285 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/1.325, allocations: 223.7 kB / 1.285 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.325, allocations: 0 / 1.285 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007965/1.326, allocations: 294.6 kB / 1.285 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/1.326, allocations: 6.844 kB / 1.285 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.326, allocations: 6.234 kB / 1.285 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/1.326, allocations: 2.125 kB / 1.285 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/1.326, allocations: 85.64 kB / 1.285 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/1.326, allocations: 6.25 kB / 1.285 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/1.326, allocations: 22.06 kB / 1.285 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/1.326, allocations: 20.89 kB / 1.285 GB, free: 161.7 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.0001291/1.326, allocations: 135.1 kB / 1.286 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/1.326, allocations: 20.8 kB / 1.286 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/1.329, allocations: 2.349 MB / 1.288 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/1.329, allocations: 15.72 kB / 1.288 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.329, allocations: 5 kB / 1.288 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.329, allocations: 0 / 1.288 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003227/1.332, allocations: 3.419 MB / 1.291 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.332, allocations: 0 / 1.291 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/1.332, allocations: 54.83 kB / 1.291 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.332, allocations: 5.312 kB / 1.291 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/1.332, allocations: 11.3 kB / 1.291 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.332, allocations: 1.188 kB / 1.291 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.332, allocations: 0 / 1.291 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007228/1.333, allocations: 0.5503 MB / 1.292 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.724e-05/1.333, allocations: 148.1 kB / 1.292 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.496e-05/1.333, allocations: 5.219 kB / 1.292 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/1.334, allocations: 19.36 kB / 1.292 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/1.334, allocations: 13.45 kB / 1.292 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/1.334, allocations: 17.02 kB / 1.292 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.99e-05/1.334, allocations: 104.3 kB / 1.292 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.8e-07/1.334, allocations: 0 / 1.292 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004634/1.338, allocations: 1.692 MB / 1.294 GB, free: 158.4 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.008363/1.347, allocations: 1.953 MB / 1.296 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006662/1.347, allocations: 323.7 kB / 1.296 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.347, allocations: 4.281 kB / 1.296 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/1.348, allocations: 239.1 kB / 1.296 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000544/1.348, allocations: 61.09 kB / 1.296 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009553/1.349, allocations: 0.7643 MB / 1.297 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/1.349, allocations: 0.7685 MB / 1.298 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004614/1.35, allocations: 408.3 kB / 1.298 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/1.35, allocations: 49.97 kB / 1.298 GB, free: 156.1 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/1.35, allocations: 0 / 1.298 GB, free: 156.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.05553/1.405, allocations: 59.65 MB / 1.356 GB, free: 99.16 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.SteamProperties.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_3.0.0_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.SteamProperties.pipe 2>&1)