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.001397/0.001397, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00194/0.00194, allocations: 283 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9336/0.9336, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 90.3 kB / 0.5952 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1385, allocations: 86.98 MB / 0.6802 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.4142/0.5527, allocations: 136.1 MB / 0.8131 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02153/0.5743, allocations: 22.31 MB / 0.8349 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.5745, allocations: 1.406 kB / 0.8349 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.5748, allocations: 48.03 kB / 0.8349 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.5751, allocations: 102.8 kB / 0.835 GB, free: 296 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01833/0.5935, allocations: 6.678 MB / 0.8416 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.5939, allocations: 251.5 kB / 0.8418 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.283e-05/0.594, allocations: 16.16 kB / 0.8418 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.5943, allocations: 137.1 kB / 0.842 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.5945, allocations: 93.75 kB / 0.842 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.5946, allocations: 9.25 kB / 0.8421 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02063/0.6152, allocations: 10.68 MB / 0.8525 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.6153, allocations: 33.22 kB / 0.8525 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.6155, allocations: 76.8 kB / 0.8526 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01318/0.6287, allocations: 6.174 MB / 0.8586 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6287, allocations: 0 / 0.8586 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6287, allocations: 0 / 0.8586 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.6287, allocations: 0 / 0.8586 GB, free: 4.121 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.003066/0.6318, allocations: 1.197 MB / 0.8598 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.6318, allocations: 10.09 kB / 0.8598 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.6329, allocations: 80.3 kB / 0.8599 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.6331, allocations: 229.8 kB / 0.8601 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.6332, allocations: 18.09 kB / 0.8601 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.6332, allocations: 17.5 kB / 0.8601 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.6343, allocations: 451.5 kB / 0.8606 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.6343, allocations: 0 / 0.8606 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.6343, allocations: 6.75 kB / 0.8606 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.6343, allocations: 4.938 kB / 0.8606 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.6355, allocations: 0.5995 MB / 0.8612 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009989/0.6365, allocations: 0.8754 MB / 0.862 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007837/0.6373, allocations: 246.7 kB / 0.8622 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.6374, allocations: 79.11 kB / 0.8623 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08615/0.7236, allocations: 35.05 MB / 0.8965 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.7236, allocations: 46.5 kB / 0.8966 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/0.7236, allocations: 0 / 0.8966 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001716/0.7254, allocations: 421.9 kB / 0.897 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.7254, allocations: 55.41 kB / 0.897 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.7255, allocations: 139.7 kB / 0.8972 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.7256, allocations: 29.7 kB / 0.8972 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.7256, allocations: 104.4 kB / 0.8973 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.857e-05/0.7257, allocations: 89.8 kB / 0.8974 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.7258, allocations: 85.66 kB / 0.8975 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.726, allocations: 326.8 kB / 0.8978 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.7262, allocations: 75.95 kB / 0.8979 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.7264, allocations: 137 kB / 0.898 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004258/0.7268, allocations: 217 kB / 0.8982 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7268, allocations: 4 kB / 0.8982 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007497/0.7276, allocations: 292.4 kB / 0.8985 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.7276, allocations: 8.141 kB / 0.8985 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.7276, allocations: 8 kB / 0.8985 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.7276, allocations: 0 / 0.8985 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.7279, allocations: 79.88 kB / 0.8986 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.7279, allocations: 4 kB / 0.8986 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.7281, allocations: 19.75 kB / 0.8986 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.7282, allocations: 27.92 kB / 0.8986 GB, free: 12.75 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.0001296/0.7283, allocations: 130.4 kB / 0.8987 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.7285, allocations: 19.8 kB / 0.8988 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.7308, allocations: 2.342 MB / 0.9011 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.7308, allocations: 15.98 kB / 0.9011 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.7308, allocations: 6.797 kB / 0.9011 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.7308, allocations: 0 / 0.9011 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/0.7339, allocations: 3.431 MB / 0.9044 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.7339, allocations: 4 kB / 0.9044 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.7342, allocations: 51.89 kB / 0.9045 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.7342, allocations: 11.92 kB / 0.9045 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.7342, allocations: 11.92 kB / 0.9045 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.7343, allocations: 8 kB / 0.9045 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7343, allocations: 0 / 0.9045 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007664/0.735, allocations: 0.5418 MB / 0.905 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.7352, allocations: 144.5 kB / 0.9052 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.7352, allocations: 7.938 kB / 0.9052 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.7354, allocations: 11.98 kB / 0.9052 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.7355, allocations: 19.92 kB / 0.9052 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.7355, allocations: 19.98 kB / 0.9052 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.824e-05/0.7356, allocations: 105.6 kB / 0.9053 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7356, allocations: 0 / 0.9053 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004161/0.7398, allocations: 1.624 MB / 0.9069 GB, free: 4.102 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.007439/0.7472, allocations: 1.906 MB / 0.9088 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007128/0.748, allocations: 329.5 kB / 0.9091 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.748, allocations: 4 kB / 0.9091 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003223/0.7483, allocations: 240.5 kB / 0.9093 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.7488, allocations: 61.62 kB / 0.9094 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009947/0.7498, allocations: 0.636 MB / 0.91 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.7502, allocations: 0.7699 MB / 0.9108 GB, free: 272 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000521/0.7507, allocations: 405 kB / 0.9111 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.7508, allocations: 47.41 kB / 0.9112 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of SimCode: time 4.71e-07/0.7508, allocations: 0 / 0.9112 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of Templates: time 0.06981/0.8207, allocations: 57.24 MB / 0.9671 GB, free: 6.586 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)