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.001191/0.001191, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001682/0.001682, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.85/2.85, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 62.61 kB / 0.9113 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3756, allocations: 159.9 MB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1578/0.5334, allocations: 134 MB / 1.198 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03061/0.5641, allocations: 25.14 MB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/0.5643, allocations: 0 / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.5647, allocations: 39.75 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.565, allocations: 91.47 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01725/0.5823, allocations: 5.493 MB / 1.228 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004859/0.5828, allocations: 311.8 kB / 1.229 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.759e-05/0.5828, allocations: 17.5 kB / 1.229 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003209/0.5832, allocations: 127.5 kB / 1.229 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.5833, allocations: 95.59 kB / 1.229 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.5833, allocations: 8 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02288/0.6062, allocations: 11.51 MB / 1.24 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.6064, allocations: 35.89 kB / 1.24 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.6066, allocations: 91.58 kB / 1.24 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02025/0.6269, allocations: 6.503 MB / 1.247 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.6269, allocations: 0 / 1.247 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.627, allocations: 0 / 1.247 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.627, allocations: 0 / 1.247 GB, free: 2.906 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.006301/0.6333, allocations: 1.209 MB / 1.248 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.6334, allocations: 8.031 kB / 1.248 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.6345, allocations: 84.67 kB / 1.248 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.6348, allocations: 232.1 kB / 1.248 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.6349, allocations: 12.12 kB / 1.248 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.6349, allocations: 16 kB / 1.248 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.6361, allocations: 450.3 kB / 1.249 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.6361, allocations: 0 / 1.249 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.6362, allocations: 15.98 kB / 1.249 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.6362, allocations: 4 kB / 1.249 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.6375, allocations: 0.5971 MB / 1.249 GB, free: 196 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.782/1.419, allocations: 0.8669 MB / 1.25 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/1.421, allocations: 247.8 kB / 1.25 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/1.421, allocations: 79.91 kB / 1.25 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08779/1.509, allocations: 35.05 MB / 1.285 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/1.509, allocations: 36.66 kB / 1.285 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 2.354e-06/1.509, allocations: 0 / 1.285 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001905/1.511, allocations: 427.7 kB / 1.285 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/1.511, allocations: 54.06 kB / 1.285 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/1.511, allocations: 140.2 kB / 1.285 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/1.511, allocations: 34.42 kB / 1.285 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/1.511, allocations: 115 kB / 1.285 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/1.511, allocations: 85.75 kB / 1.285 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/1.511, allocations: 73.8 kB / 1.286 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.635e-05/1.511, allocations: 325.2 kB / 1.286 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/1.511, allocations: 83.5 kB / 1.286 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/1.512, allocations: 129.6 kB / 1.286 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00049/1.512, allocations: 222 kB / 1.286 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.512, allocations: 0 / 1.286 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008439/1.513, allocations: 299.8 kB / 1.287 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/1.513, allocations: 14.28 kB / 1.287 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.513, allocations: 1.469 kB / 1.287 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/1.513, allocations: 1.531 kB / 1.287 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/1.514, allocations: 76.31 kB / 1.287 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.514, allocations: 6.25 kB / 1.287 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/1.514, allocations: 22.03 kB / 1.287 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/1.514, allocations: 29.25 kB / 1.287 GB, free: 160.6 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.0001315/1.514, allocations: 136.2 kB / 1.287 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/1.514, allocations: 18.53 kB / 1.287 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002831/1.517, allocations: 2.343 MB / 1.289 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/1.517, allocations: 12.3 kB / 1.289 GB, free: 160 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.517, allocations: 1.312 kB / 1.289 GB, free: 160 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.517, allocations: 1.078 kB / 1.289 GB, free: 160 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/1.52, allocations: 3.424 MB / 1.292 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/1.52, allocations: 0 / 1.292 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/1.521, allocations: 63.88 kB / 1.293 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/1.521, allocations: 1.094 kB / 1.293 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/1.521, allocations: 10.55 kB / 1.293 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/1.521, allocations: 1.094 kB / 1.293 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.521, allocations: 3.672 kB / 1.293 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008257/1.522, allocations: 0.5545 MB / 1.293 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/1.522, allocations: 135.2 kB / 1.293 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/1.522, allocations: 10.64 kB / 1.293 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/1.522, allocations: 19.31 kB / 1.293 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/1.522, allocations: 16.47 kB / 1.293 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/1.522, allocations: 12.25 kB / 1.293 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.687e-05/1.522, allocations: 112.9 kB / 1.293 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.522, allocations: 0 / 1.293 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006062/1.528, allocations: 1.685 MB / 1.295 GB, free: 157.2 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.009924/1.538, allocations: 1.941 MB / 1.297 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008129/1.539, allocations: 327.7 kB / 1.297 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.539, allocations: 4.281 kB / 1.297 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002827/1.539, allocations: 242.8 kB / 1.297 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006207/1.54, allocations: 61.3 kB / 1.298 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/1.541, allocations: 0.753 MB / 1.298 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/1.541, allocations: 0.7648 MB / 1.299 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004644/1.542, allocations: 409.2 kB / 1.299 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/1.542, allocations: 43.02 kB / 1.299 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.542, allocations: 0 / 1.299 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.05952/1.601, allocations: 59.4 MB / 1.357 GB, free: 98.27 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)