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.0009618/0.0009618, allocations: 90.52 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.007931/0.007931, allocations: 171.1 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.458/1.458, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.972/2.972, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004226, allocations: 8.531 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3974, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1755/0.5729, allocations: 132.2 MB / 1.203 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03323/0.6063, allocations: 24.76 MB / 1.227 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.6065, allocations: 8 kB / 1.227 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.6069, allocations: 31.81 kB / 1.227 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.6072, allocations: 87.42 kB / 1.228 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01915/0.6264, allocations: 5.488 MB / 1.233 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005165/0.6269, allocations: 307.8 kB / 1.233 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.379e-05/0.627, allocations: 21.42 kB / 1.233 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003629/0.6273, allocations: 123.5 kB / 1.233 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.6276, allocations: 95.59 kB / 1.233 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.6276, allocations: 8 kB / 1.233 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0226/0.6502, allocations: 11.52 MB / 1.245 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.6505, allocations: 39.89 kB / 1.245 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.6507, allocations: 101.4 kB / 1.245 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02098/0.6717, allocations: 6.483 MB / 1.251 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.6717, allocations: 0 / 1.251 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.464e-06/0.6717, allocations: 0 / 1.251 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.673e-05/0.6717, allocations: 0 / 1.251 GB, free: 1.621 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.004298/0.6761, allocations: 1.166 MB / 1.252 GB, free: 416 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.6761, allocations: 8.031 kB / 1.252 GB, free: 408 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.6774, allocations: 92.61 kB / 1.252 GB, free: 316 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.6777, allocations: 224.2 kB / 1.253 GB, free: 52 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.6778, allocations: 16.12 kB / 1.253 GB, free: 36 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.6778, allocations: 12 kB / 1.253 GB, free: 24 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7403/1.418, allocations: 448.6 kB / 1.253 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/1.418, allocations: 2.062 kB / 1.253 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/1.418, allocations: 11.66 kB / 1.253 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/1.418, allocations: 3.406 kB / 1.253 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/1.42, allocations: 0.5935 MB / 1.254 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/1.421, allocations: 0.8813 MB / 1.255 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009881/1.422, allocations: 250.2 kB / 1.255 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/1.422, allocations: 80.86 kB / 1.255 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09353/1.516, allocations: 35.34 MB / 1.289 GB, free: 159 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/1.516, allocations: 36.59 kB / 1.289 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 1.923e-06/1.516, allocations: 0 / 1.289 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001698/1.517, allocations: 418.7 kB / 1.29 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/1.517, allocations: 57.38 kB / 1.29 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/1.517, allocations: 149.4 kB / 1.29 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/1.518, allocations: 34.73 kB / 1.29 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/1.518, allocations: 108.2 kB / 1.29 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.117e-05/1.518, allocations: 86.25 kB / 1.29 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/1.518, allocations: 28.95 kB / 1.29 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.231e-05/1.518, allocations: 322.6 kB / 1.291 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/1.518, allocations: 79.86 kB / 1.291 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/1.518, allocations: 136.4 kB / 1.291 GB, free: 158 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/1.519, allocations: 213.5 kB / 1.291 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.519, allocations: 0 / 1.291 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006802/1.519, allocations: 305.3 kB / 1.291 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.519, allocations: 5.719 kB / 1.291 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/1.519, allocations: 0.9688 kB / 1.291 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/1.519, allocations: 2.844 kB / 1.291 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/1.52, allocations: 80.34 kB / 1.291 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/1.52, allocations: 2.812 kB / 1.291 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/1.52, allocations: 22.22 kB / 1.291 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/1.52, allocations: 23.17 kB / 1.291 GB, free: 157.8 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.0001214/1.52, allocations: 139.5 kB / 1.292 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/1.52, allocations: 17.78 kB / 1.292 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002778/1.523, allocations: 2.355 MB / 1.294 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/1.523, allocations: 11.98 kB / 1.294 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.523, allocations: 1 kB / 1.294 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.523, allocations: 3.938 kB / 1.294 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003643/1.527, allocations: 3.422 MB / 1.297 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.527, allocations: 5.344 kB / 1.297 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/1.527, allocations: 54.44 kB / 1.297 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/1.527, allocations: 5.375 kB / 1.297 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/1.527, allocations: 6.375 kB / 1.297 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/1.527, allocations: 1.219 kB / 1.297 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.527, allocations: 6.797 kB / 1.297 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008291/1.528, allocations: 0.5461 MB / 1.298 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/1.528, allocations: 136.1 kB / 1.298 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.726e-05/1.528, allocations: 13.03 kB / 1.298 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/1.528, allocations: 18.77 kB / 1.298 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/1.528, allocations: 21.66 kB / 1.298 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/1.528, allocations: 8.5 kB / 1.298 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.492e-05/1.528, allocations: 109.1 kB / 1.298 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.528, allocations: 0 / 1.298 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006308/1.535, allocations: 1.685 MB / 1.3 GB, free: 153.9 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.007566/1.542, allocations: 1.942 MB / 1.302 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006364/1.543, allocations: 324.6 kB / 1.302 GB, free: 153.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.543, allocations: 7.5 kB / 1.302 GB, free: 153.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/1.543, allocations: 237.2 kB / 1.302 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005734/1.544, allocations: 60.3 kB / 1.302 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009975/1.545, allocations: 0.795 MB / 1.303 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/1.545, allocations: 0.7675 MB / 1.304 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004943/1.546, allocations: 410.9 kB / 1.304 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/1.546, allocations: 54.16 kB / 1.304 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of SimCode: time 3.016e-06/1.546, allocations: 0 / 1.304 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.06184/1.608, allocations: 59.37 MB / 1.362 GB, free: 94.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)