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.0008678/0.0008712, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.006837/0.006838, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.999/2.999, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003876, allocations: 12.88 kB / 0.9158 GB, free: 33.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3781, allocations: 162.2 MB / 1.074 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1754/0.5535, allocations: 132.3 MB / 1.203 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03138/0.5849, allocations: 24.76 MB / 1.227 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.5852, allocations: 0 / 1.227 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.5856, allocations: 39.8 kB / 1.227 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.5859, allocations: 87.42 kB / 1.228 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01992/0.6059, allocations: 5.484 MB / 1.233 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005739/0.6065, allocations: 319.7 kB / 1.233 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.923e-05/0.6065, allocations: 9.5 kB / 1.233 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004533/0.607, allocations: 135.5 kB / 1.233 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.6073, allocations: 95.59 kB / 1.233 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.6073, allocations: 8 kB / 1.233 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02351/0.6308, allocations: 11.52 MB / 1.245 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.631, allocations: 31.89 kB / 1.245 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.6312, allocations: 113.3 kB / 1.245 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01926/0.6505, allocations: 6.479 MB / 1.251 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.6506, allocations: 4 kB / 1.251 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.475e-06/0.6506, allocations: 0 / 1.251 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.6506, allocations: 0 / 1.251 GB, free: 1.676 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.005021/0.6556, allocations: 1.162 MB / 1.252 GB, free: 476 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.6557, allocations: 8.031 kB / 1.252 GB, free: 468 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.657, allocations: 84.66 kB / 1.252 GB, free: 384 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.6573, allocations: 228.1 kB / 1.253 GB, free: 116 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.6574, allocations: 20.12 kB / 1.253 GB, free: 96 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.6574, allocations: 16 kB / 1.253 GB, free: 80 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.882/1.539, allocations: 445.7 kB / 1.253 GB, free: 26.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/1.539, allocations: 2.375 kB / 1.253 GB, free: 26.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/1.54, allocations: 8.812 kB / 1.253 GB, free: 26.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/1.54, allocations: 4.594 kB / 1.253 GB, free: 26.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/1.541, allocations: 0.5937 MB / 1.254 GB, free: 26.93 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/1.542, allocations: 0.8821 MB / 1.255 GB, free: 26.28 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/1.543, allocations: 253 kB / 1.255 GB, free: 26.26 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/1.544, allocations: 74.11 kB / 1.255 GB, free: 26.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09234/1.636, allocations: 35.33 MB / 1.289 GB, free: 24.98 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/1.636, allocations: 42.22 kB / 1.289 GB, free: 24.94 MB / 1.014 GB Notification: Performance of pre-optimization done (n=25): time 2.535e-06/1.636, allocations: 0 / 1.289 GB, free: 24.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=25): time 0.001723/1.638, allocations: 418.4 kB / 1.29 GB, free: 24.9 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.638, allocations: 58.41 kB / 1.29 GB, free: 24.84 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/1.638, allocations: 147.8 kB / 1.29 GB, free: 24.73 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/1.638, allocations: 31.64 kB / 1.29 GB, free: 24.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/1.638, allocations: 106.1 kB / 1.29 GB, free: 24.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.603e-05/1.638, allocations: 84.02 kB / 1.29 GB, free: 24.55 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-05/1.638, allocations: 26.55 kB / 1.29 GB, free: 24.53 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.638, allocations: 331 kB / 1.291 GB, free: 24.22 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/1.639, allocations: 78.72 kB / 1.291 GB, free: 24.22 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/1.639, allocations: 132.3 kB / 1.291 GB, free: 24.17 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/1.639, allocations: 218.9 kB / 1.291 GB, free: 24.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/1.639, allocations: 8.188 kB / 1.291 GB, free: 24.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007011/1.64, allocations: 296.8 kB / 1.291 GB, free: 24.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.64, allocations: 6.375 kB / 1.291 GB, free: 24.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/1.64, allocations: 2.031 kB / 1.291 GB, free: 24.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/1.64, allocations: 6.938 kB / 1.291 GB, free: 24.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/1.64, allocations: 82.67 kB / 1.291 GB, free: 24.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/1.64, allocations: 3.625 kB / 1.291 GB, free: 24.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/1.64, allocations: 24.2 kB / 1.291 GB, free: 24.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/1.641, allocations: 28.2 kB / 1.291 GB, free: 24.05 MB / 1.014 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.0001568/1.641, allocations: 126 kB / 1.292 GB, free: 23.94 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/1.641, allocations: 21.72 kB / 1.292 GB, free: 23.93 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/1.643, allocations: 2.35 MB / 1.294 GB, free: 23.81 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/1.643, allocations: 15.11 kB / 1.294 GB, free: 23.81 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/1.643, allocations: 0 / 1.294 GB, free: 23.81 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/1.643, allocations: 4.188 kB / 1.294 GB, free: 23.81 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/1.647, allocations: 3.428 MB / 1.297 GB, free: 23.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/1.647, allocations: 0 / 1.297 GB, free: 23.26 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/1.647, allocations: 53.89 kB / 1.297 GB, free: 23.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/1.647, allocations: 4.328 kB / 1.297 GB, free: 23.26 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/1.647, allocations: 7.219 kB / 1.297 GB, free: 23.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/1.647, allocations: 1.5 kB / 1.297 GB, free: 23.26 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.647, allocations: 1.859 kB / 1.297 GB, free: 23.26 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008129/1.648, allocations: 0.5564 MB / 1.298 GB, free: 23.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/1.648, allocations: 134.7 kB / 1.298 GB, free: 22.98 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/1.648, allocations: 7.125 kB / 1.298 GB, free: 22.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/1.648, allocations: 16.34 kB / 1.298 GB, free: 22.98 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/1.648, allocations: 18.69 kB / 1.298 GB, free: 22.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/1.648, allocations: 16.23 kB / 1.298 GB, free: 22.98 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001327/1.649, allocations: 106.8 kB / 1.298 GB, free: 22.91 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.649, allocations: 0 / 1.298 GB, free: 22.91 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004876/1.653, allocations: 1.698 MB / 1.3 GB, free: 22.85 MB / 1.014 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.00968/1.663, allocations: 1.934 MB / 1.302 GB, free: 22.62 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007542/1.664, allocations: 329.5 kB / 1.302 GB, free: 22.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.664, allocations: 0 / 1.302 GB, free: 22.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003458/1.664, allocations: 244.6 kB / 1.302 GB, free: 22.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/1.665, allocations: 67.45 kB / 1.302 GB, free: 22.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/1.666, allocations: 0.7896 MB / 1.303 GB, free: 22.23 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/1.667, allocations: 0.7657 MB / 1.304 GB, free: 21.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005933/1.667, allocations: 403.3 kB / 1.304 GB, free: 21.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/1.667, allocations: 49.09 kB / 1.304 GB, free: 21.5 MB / 1.014 GB Notification: Performance of SimCode: time 7.11e-07/1.667, allocations: 0 / 1.304 GB, free: 21.5 MB / 1.014 GB Notification: Performance of Templates: time 0.08408/1.751, allocations: 59.37 MB / 1.362 GB, free: 5.66 MB / 1.029 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)