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.001164/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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: 193.7 kB / 16.14 MB, free: 6.703 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.992/2.992, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.00126, allocations: 66.8 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3951, allocations: 159.9 MB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1577/0.5528, allocations: 134 MB / 1.198 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03851/0.5914, allocations: 25.15 MB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.5917, allocations: 3.938 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.5921, allocations: 39.8 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004603/0.5926, allocations: 83.48 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.02137/0.614, allocations: 5.492 MB / 1.228 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005032/0.6145, allocations: 311.8 kB / 1.229 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.713e-05/0.6146, allocations: 9.5 kB / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004523/0.6151, allocations: 139.4 kB / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.6153, allocations: 91.66 kB / 1.229 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.6154, allocations: 8 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0231/0.6385, allocations: 11.52 MB / 1.24 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.6387, allocations: 31.89 kB / 1.24 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.6389, allocations: 91.58 kB / 1.24 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01884/0.6577, allocations: 6.507 MB / 1.247 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.6578, allocations: 0 / 1.247 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.993e-06/0.6578, allocations: 0 / 1.247 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.6578, allocations: 0 / 1.247 GB, free: 2.891 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.004671/0.6625, allocations: 1.197 MB / 1.248 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.6626, allocations: 11.97 kB / 1.248 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.6639, allocations: 88.61 kB / 1.248 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.6642, allocations: 240 kB / 1.248 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.6642, allocations: 12.12 kB / 1.248 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.6643, allocations: 16 kB / 1.248 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.6656, allocations: 454.3 kB / 1.249 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.6656, allocations: 0 / 1.249 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.6657, allocations: 12 kB / 1.249 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.6657, allocations: 4 kB / 1.249 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.667, allocations: 0.5892 MB / 1.249 GB, free: 184 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7393/1.406, allocations: 0.875 MB / 1.25 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/1.407, allocations: 249 kB / 1.25 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/1.408, allocations: 76.73 kB / 1.25 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08774/1.495, allocations: 35.05 MB / 1.285 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/1.495, allocations: 37.47 kB / 1.285 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 2.084e-06/1.495, allocations: 0 / 1.285 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001862/1.497, allocations: 421.1 kB / 1.285 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/1.497, allocations: 57.84 kB / 1.285 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/1.497, allocations: 142.9 kB / 1.285 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/1.498, allocations: 33.23 kB / 1.285 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/1.498, allocations: 110 kB / 1.285 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/1.498, allocations: 86.22 kB / 1.285 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/1.498, allocations: 81.48 kB / 1.286 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.226e-05/1.498, allocations: 322.3 kB / 1.286 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/1.498, allocations: 79.77 kB / 1.286 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/1.498, allocations: 135.8 kB / 1.286 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/1.499, allocations: 210.1 kB / 1.286 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/1.499, allocations: 1.344 kB / 1.286 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000822/1.5, allocations: 306.8 kB / 1.287 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/1.5, allocations: 9.375 kB / 1.287 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.5, allocations: 1.375 kB / 1.287 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/1.5, allocations: 2.5 kB / 1.287 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/1.5, allocations: 84.75 kB / 1.287 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/1.5, allocations: 2.562 kB / 1.287 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/1.5, allocations: 29.52 kB / 1.287 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/1.5, allocations: 21.17 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.0001329/1.501, allocations: 134.7 kB / 1.287 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/1.501, allocations: 17.16 kB / 1.287 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002944/1.504, allocations: 2.351 MB / 1.289 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/1.504, allocations: 8.422 kB / 1.289 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.504, allocations: 5.016 kB / 1.289 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/1.504, allocations: 4.953 kB / 1.289 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003494/1.507, allocations: 3.423 MB / 1.292 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.507, allocations: 4 kB / 1.292 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/1.508, allocations: 55.58 kB / 1.293 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/1.508, allocations: 1.219 kB / 1.293 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/1.508, allocations: 10.69 kB / 1.293 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/1.508, allocations: 5.453 kB / 1.293 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.508, allocations: 0 / 1.293 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008574/1.508, allocations: 0.5535 MB / 1.293 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/1.509, allocations: 139.7 kB / 1.293 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/1.509, allocations: 9.375 kB / 1.293 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/1.509, allocations: 20.14 kB / 1.293 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/1.509, allocations: 12.23 kB / 1.293 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/1.509, allocations: 16.23 kB / 1.293 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.834e-05/1.509, allocations: 105.2 kB / 1.293 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.509, allocations: 0 / 1.293 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006714/1.516, allocations: 1.689 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.0104/1.526, allocations: 1.945 MB / 1.297 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008904/1.527, allocations: 321.6 kB / 1.297 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.527, allocations: 8.094 kB / 1.297 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/1.528, allocations: 241.7 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.0007282/1.528, allocations: 62.7 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.001181/1.529, allocations: 0.7504 MB / 1.298 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/1.53, allocations: 0.7647 MB / 1.299 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005029/1.53, allocations: 399.4 kB / 1.299 GB, free: 155 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/1.53, allocations: 46.78 kB / 1.299 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.22e-07/1.53, allocations: 4 kB / 1.299 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.06177/1.592, allocations: 59.4 MB / 1.357 GB, free: 98.25 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)