Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 104 kB / 16.36 MB, free: 6.301 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.001131/0.001131, allocations: 192.1 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.841/1.841, allocations: 292.3 MB / 0.5496 GB, free: 17.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 67.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2671, allocations: 114.5 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.5408/0.808, allocations: 12.95 MB / 0.7974 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002463/0.8105, allocations: 2.645 MB / 0.8 GB, free: 41.26 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.8106, allocations: 0 / 0.8 GB, free: 41.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.8109, allocations: 50.09 kB / 0.8 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.8112, allocations: 96.58 kB / 0.8001 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.8122, allocations: 482.2 kB / 0.8006 GB, free: 41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.8125, allocations: 235.3 kB / 0.8008 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.8125, allocations: 10.55 kB / 0.8008 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009145/0.8217, allocations: 3.58 MB / 0.8043 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.8219, allocations: 87.39 kB / 0.8044 GB, free: 39.99 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.822, allocations: 10.56 kB / 0.8044 GB, free: 39.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002863/0.8248, allocations: 1.036 MB / 0.8054 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.012e-05/0.8249, allocations: 37.52 kB / 0.8055 GB, free: 39.6 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.8251, allocations: 78.28 kB / 0.8055 GB, free: 39.56 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007672/0.8258, allocations: 356.5 kB / 0.8059 GB, free: 39.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.8259, allocations: 0.5625 kB / 0.8059 GB, free: 39.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8259, allocations: 0.75 kB / 0.8059 GB, free: 39.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.8259, allocations: 0.875 kB / 0.8059 GB, free: 39.44 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007212/0.8266, allocations: 0.4969 MB / 0.8064 GB, free: 39 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.8267, allocations: 10.05 kB / 0.8064 GB, free: 39 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.8268, allocations: 27.28 kB / 0.8064 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.8271, allocations: 215.4 kB / 0.8066 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.8272, allocations: 19.11 kB / 0.8066 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.8272, allocations: 15.41 kB / 0.8066 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.8276, allocations: 245 kB / 0.8069 GB, free: 38.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.8277, allocations: 0 / 0.8069 GB, free: 38.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.8277, allocations: 11.67 kB / 0.8069 GB, free: 38.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/0.8277, allocations: 5.578 kB / 0.8069 GB, free: 38.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006257/0.8284, allocations: 437.2 kB / 0.8073 GB, free: 38.53 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.8295, allocations: 0.959 MB / 0.8082 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.8298, allocations: 167.5 kB / 0.8084 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.8299, allocations: 61.41 kB / 0.8085 GB, free: 37.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/0.831, allocations: 1.831 MB / 0.8103 GB, free: 35.55 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.831, allocations: 40.94 kB / 0.8103 GB, free: 35.51 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.831, allocations: 0 / 0.8103 GB, free: 35.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0003692/0.8314, allocations: 150.6 kB / 0.8104 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.8314, allocations: 56.88 kB / 0.8105 GB, free: 35.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.8316, allocations: 169.1 kB / 0.8107 GB, free: 35.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.8316, allocations: 27.92 kB / 0.8107 GB, free: 35.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.8317, allocations: 145.2 kB / 0.8108 GB, free: 35.08 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.8317, allocations: 46.81 kB / 0.8109 GB, free: 35.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.721e-05/0.8318, allocations: 57.53 kB / 0.8109 GB, free: 35.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.549e-05/0.8319, allocations: 327.2 kB / 0.8112 GB, free: 34.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.042e-05/0.832, allocations: 35.44 kB / 0.8113 GB, free: 34.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.8321, allocations: 148.6 kB / 0.8114 GB, free: 34.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.8323, allocations: 195.4 kB / 0.8116 GB, free: 34.35 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.8323, allocations: 1.312 kB / 0.8116 GB, free: 34.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003398/0.8327, allocations: 213.5 kB / 0.8118 GB, free: 34.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.8327, allocations: 11.17 kB / 0.8118 GB, free: 34.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.8327, allocations: 3.781 kB / 0.8118 GB, free: 34.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.8327, allocations: 5.312 kB / 0.8118 GB, free: 34.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.8329, allocations: 56.81 kB / 0.8119 GB, free: 34.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/0.8329, allocations: 6.922 kB / 0.8119 GB, free: 34.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.8331, allocations: 23.34 kB / 0.8119 GB, free: 34.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.8331, allocations: 15.31 kB / 0.8119 GB, free: 34.22 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 29 * Array equations: 1 * 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 9.387e-05/0.8332, allocations: 136.3 kB / 0.812 GB, free: 34.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.8332, allocations: 16.44 kB / 0.8121 GB, free: 34.08 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003273/0.8336, allocations: 158.2 kB / 0.8122 GB, free: 34.01 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.8336, allocations: 6.25 kB / 0.8122 GB, free: 34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.8336, allocations: 1.641 kB / 0.8122 GB, free: 34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.8336, allocations: 0.5156 kB / 0.8122 GB, free: 34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.8338, allocations: 215.6 kB / 0.8124 GB, free: 33.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.8339, allocations: 3.938 kB / 0.8124 GB, free: 33.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.78e-05/0.834, allocations: 28.27 kB / 0.8125 GB, free: 33.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.834, allocations: 1.094 kB / 0.8125 GB, free: 33.78 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.834, allocations: 2.875 kB / 0.8125 GB, free: 33.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.834, allocations: 4.5 kB / 0.8125 GB, free: 33.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.834, allocations: 4.812 kB / 0.8125 GB, free: 33.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.8343, allocations: 220.5 kB / 0.8127 GB, free: 33.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.984e-05/0.8343, allocations: 112.7 kB / 0.8128 GB, free: 33.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.8344, allocations: 5.672 kB / 0.8128 GB, free: 33.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.8345, allocations: 9.703 kB / 0.8128 GB, free: 33.49 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.8346, allocations: 16.05 kB / 0.8128 GB, free: 33.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.8346, allocations: 13.91 kB / 0.8128 GB, free: 33.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.014e-05/0.8347, allocations: 118.6 kB / 0.8129 GB, free: 33.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8347, allocations: 0.875 kB / 0.8129 GB, free: 33.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004103/0.8351, allocations: 73.89 kB / 0.813 GB, free: 33.38 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0003745/0.8355, allocations: 190.3 kB / 0.8132 GB, free: 33.26 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.8358, allocations: 112.5 kB / 0.8133 GB, free: 33.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.8358, allocations: 2.031 kB / 0.8133 GB, free: 33.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.539e-05/0.8359, allocations: 44.5 kB / 0.8133 GB, free: 33.22 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.8363, allocations: 55.64 kB / 0.8134 GB, free: 33.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007619/0.8371, allocations: 373.9 kB / 0.8138 GB, free: 32.97 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.8373, allocations: 0.7102 MB / 0.8144 GB, free: 32.27 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.8374, allocations: 30 kB / 0.8145 GB, free: 32.26 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.8374, allocations: 0 / 0.8145 GB, free: 32.26 MB / 0.6544 GB Notification: Performance of Templates: time 0.007024/0.8444, allocations: 3.378 MB / 0.8178 GB, free: 31.93 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)