Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001087, 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.001085/0.001085, allocations: 193.2 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.308/1.308, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002031/0.002031, allocations: 286.8 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9455/0.9455, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 100.4 kB / 0.5947 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1522, allocations: 86.97 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.434/0.5862, allocations: 134.2 MB / 0.8107 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02096/0.6073, allocations: 22.6 MB / 0.8327 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.6075, allocations: 1.406 kB / 0.8327 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.6077, allocations: 45.06 kB / 0.8328 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.6081, allocations: 97.64 kB / 0.8329 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01683/0.6249, allocations: 5.898 MB / 0.8386 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005128/0.6254, allocations: 250.2 kB / 0.8389 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.32e-05/0.6255, allocations: 13 kB / 0.8389 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.6258, allocations: 141 kB / 0.839 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.626, allocations: 94.33 kB / 0.8391 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.626, allocations: 8.844 kB / 0.8391 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01864/0.6446, allocations: 10.8 MB / 0.8497 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.6448, allocations: 41.45 kB / 0.8497 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.6449, allocations: 83.66 kB / 0.8498 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01499/0.6599, allocations: 6.191 MB / 0.8558 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.66, allocations: 2.906 kB / 0.8558 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.679e-06/0.66, allocations: 3.984 kB / 0.8558 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.66, allocations: 0 / 0.8558 GB, free: 4.555 MB / 0.5762 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.003357/0.6634, allocations: 1.189 MB / 0.857 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.6634, allocations: 7.688 kB / 0.857 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.6645, allocations: 82.83 kB / 0.8571 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.6648, allocations: 232.3 kB / 0.8573 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.6649, allocations: 15.88 kB / 0.8573 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.6649, allocations: 21.91 kB / 0.8574 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.6662, allocations: 440.2 kB / 0.8578 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.6662, allocations: 0 / 0.8578 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.6663, allocations: 14.73 kB / 0.8578 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.6663, allocations: 4.312 kB / 0.8578 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.6675, allocations: 0.6017 MB / 0.8584 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.6687, allocations: 0.8741 MB / 0.8592 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008664/0.6696, allocations: 258.4 kB / 0.8595 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.6697, allocations: 73.86 kB / 0.8595 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08257/0.7523, allocations: 35.05 MB / 0.8938 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.7524, allocations: 34.56 kB / 0.8938 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 2.164e-06/0.7524, allocations: 7.938 kB / 0.8938 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001862/0.7542, allocations: 417.9 kB / 0.8942 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.7543, allocations: 55.41 kB / 0.8943 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.7544, allocations: 147.5 kB / 0.8944 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.7545, allocations: 29.7 kB / 0.8944 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.7546, allocations: 108.4 kB / 0.8945 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.473e-05/0.7546, allocations: 89.41 kB / 0.8946 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.7548, allocations: 77.66 kB / 0.8947 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.7549, allocations: 326.8 kB / 0.895 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.7551, allocations: 84.52 kB / 0.8951 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.7553, allocations: 130.8 kB / 0.8952 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/0.7557, allocations: 213 kB / 0.8954 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7557, allocations: 4 kB / 0.8954 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000699/0.7564, allocations: 295.9 kB / 0.8957 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.7565, allocations: 11.98 kB / 0.8957 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.7565, allocations: 0 / 0.8957 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.7565, allocations: 7.938 kB / 0.8957 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.7568, allocations: 79.94 kB / 0.8958 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.7568, allocations: 7.938 kB / 0.8958 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.757, allocations: 19.75 kB / 0.8958 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.7571, allocations: 32.08 kB / 0.8959 GB, free: 13.61 MB / 0.6231 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.0001406/0.7572, allocations: 118.5 kB / 0.896 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.7574, allocations: 31.73 kB / 0.896 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.7597, allocations: 2.338 MB / 0.8983 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.7597, allocations: 11.97 kB / 0.8983 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7597, allocations: 0 / 0.8983 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.7597, allocations: 0 / 0.8983 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.7628, allocations: 3.439 MB / 0.9017 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.7628, allocations: 0 / 0.9017 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.7631, allocations: 51.95 kB / 0.9017 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.7631, allocations: 3.938 kB / 0.9017 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.7631, allocations: 15.92 kB / 0.9017 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.7631, allocations: 0 / 0.9017 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7631, allocations: 4 kB / 0.9017 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007465/0.7639, allocations: 0.538 MB / 0.9023 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.764, allocations: 144.4 kB / 0.9024 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.7641, allocations: 15.94 kB / 0.9024 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.7643, allocations: 19.92 kB / 0.9024 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.7644, allocations: 11.98 kB / 0.9024 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.7644, allocations: 15.98 kB / 0.9025 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.523e-05/0.7645, allocations: 105.8 kB / 0.9026 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7645, allocations: 0 / 0.9026 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00447/0.769, allocations: 1.624 MB / 0.9041 GB, free: 4.98 MB / 0.6231 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.008803/0.7778, allocations: 1.894 MB / 0.906 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007645/0.7786, allocations: 338.1 kB / 0.9063 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.7786, allocations: 4 kB / 0.9063 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.7789, allocations: 244.5 kB / 0.9065 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.7795, allocations: 72.38 kB / 0.9066 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.7806, allocations: 0.7539 MB / 0.9074 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.7809, allocations: 0.7661 MB / 0.9081 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005753/0.7815, allocations: 401 kB / 0.9085 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.7817, allocations: 55.41 kB / 0.9085 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.7817, allocations: 0 / 0.9085 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of Templates: time 0.06939/0.8511, allocations: 57.31 MB / 0.9645 GB, free: 7.258 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1)