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.001367/0.001367, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001314/0.001314, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002567/0.002567, allocations: 282.4 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 1.076/1.076, allocations: 178.6 MB / 0.507 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002775/0.002775, allocations: 99.89 kB / 0.6059 GB, free: 25.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.177, allocations: 89.14 MB / 0.693 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.4396/0.6167, allocations: 134.2 MB / 0.824 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02929/0.646, allocations: 22.98 MB / 0.8464 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.6462, allocations: 2.781 kB / 0.8464 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.6465, allocations: 36.77 kB / 0.8465 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.6469, allocations: 94.17 kB / 0.8466 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01744/0.6643, allocations: 6.144 MB / 0.8526 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004663/0.6648, allocations: 256.8 kB / 0.8528 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.6649, allocations: 9.406 kB / 0.8528 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003368/0.6652, allocations: 141.2 kB / 0.8529 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.6654, allocations: 93.12 kB / 0.853 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.6654, allocations: 7.906 kB / 0.853 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02059/0.686, allocations: 11.46 MB / 0.8642 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.6861, allocations: 45.39 kB / 0.8643 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.6863, allocations: 77.86 kB / 0.8644 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01632/0.7026, allocations: 6.513 MB / 0.8707 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7027, allocations: 0 / 0.8707 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.073e-06/0.7027, allocations: 4 kB / 0.8707 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.7027, allocations: 0 / 0.8707 GB, free: 5.953 MB / 0.5919 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.003816/0.7065, allocations: 1.198 MB / 0.8719 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.7066, allocations: 12.03 kB / 0.8719 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.7077, allocations: 92.61 kB / 0.872 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.7081, allocations: 232 kB / 0.8722 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.7081, allocations: 16.62 kB / 0.8722 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.7081, allocations: 15.94 kB / 0.8722 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.7094, allocations: 449.8 kB / 0.8727 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.7094, allocations: 0 / 0.8727 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.7095, allocations: 8 kB / 0.8727 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.7095, allocations: 8 kB / 0.8727 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.7108, allocations: 0.5969 MB / 0.8733 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.7121, allocations: 0.8804 MB / 0.8741 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000904/0.713, allocations: 261.1 kB / 0.8744 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.7132, allocations: 80.77 kB / 0.8744 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08891/0.8021, allocations: 35.04 MB / 0.9087 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.8021, allocations: 38.56 kB / 0.9087 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.794e-06/0.8022, allocations: 3.938 kB / 0.9087 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001858/0.804, allocations: 417.9 kB / 0.9091 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.8041, allocations: 63.34 kB / 0.9092 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.8042, allocations: 136.2 kB / 0.9093 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.8043, allocations: 33.7 kB / 0.9093 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.8044, allocations: 112.3 kB / 0.9094 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.627e-05/0.8045, allocations: 90.73 kB / 0.9095 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.8046, allocations: 73.66 kB / 0.9096 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.8048, allocations: 330.8 kB / 0.9099 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.805, allocations: 83.95 kB / 0.91 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.8053, allocations: 129.1 kB / 0.9101 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000483/0.8058, allocations: 221 kB / 0.9103 GB, free: 10 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.8058, allocations: 0 / 0.9103 GB, free: 10 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008063/0.8066, allocations: 296.7 kB / 0.9106 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.8066, allocations: 8 kB / 0.9106 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.8066, allocations: 3.938 kB / 0.9106 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.8066, allocations: 7.984 kB / 0.9106 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.807, allocations: 75.89 kB / 0.9107 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.807, allocations: 7.984 kB / 0.9107 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.8072, allocations: 23.94 kB / 0.9107 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.8073, allocations: 31.92 kB / 0.9108 GB, free: 9.555 MB / 0.6387 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.0001554/0.8074, allocations: 117.8 kB / 0.9109 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.8076, allocations: 23.8 kB / 0.9109 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002669/0.8103, allocations: 2.346 MB / 0.9132 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.8103, allocations: 11.98 kB / 0.9132 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.8103, allocations: 5.797 kB / 0.9132 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.8103, allocations: 0 / 0.9132 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/0.814, allocations: 3.423 MB / 0.9165 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.814, allocations: 0 / 0.9165 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.8143, allocations: 55.95 kB / 0.9166 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.8143, allocations: 0 / 0.9166 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.8143, allocations: 15.92 kB / 0.9166 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.8143, allocations: 3.938 kB / 0.9166 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8144, allocations: 4 kB / 0.9166 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008313/0.8152, allocations: 0.538 MB / 0.9171 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.8153, allocations: 140.5 kB / 0.9173 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.8154, allocations: 11.94 kB / 0.9173 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.8156, allocations: 15.98 kB / 0.9173 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.8157, allocations: 15.98 kB / 0.9173 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.8157, allocations: 17.48 kB / 0.9173 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 8.234e-05/0.8158, allocations: 105.5 kB / 0.9174 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8158, allocations: 0 / 0.9174 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004243/0.8201, allocations: 1.691 MB / 0.9191 GB, free: 0.8672 MB / 0.6387 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.007163/0.8272, allocations: 1.949 MB / 0.921 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007828/0.828, allocations: 336.3 kB / 0.9213 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.828, allocations: 0 / 0.9213 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.8284, allocations: 244.5 kB / 0.9215 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.8289, allocations: 62.08 kB / 0.9216 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.8302, allocations: 0.7555 MB / 0.9223 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.8306, allocations: 0.7699 MB / 0.9231 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006213/0.8312, allocations: 409 kB / 0.9235 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.8314, allocations: 43.41 kB / 0.9235 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of SimCode: time 3.81e-07/0.8314, allocations: 0 / 0.9235 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.0835/0.9149, allocations: 59.67 MB / 0.9818 GB, free: 0.5625 MB / 0.7012 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)