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.001371/0.001371, allocations: 103.6 kB / 16.29 MB, free: 6.43 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.001543/0.001543, allocations: 185.1 kB / 17.22 MB, free: 5.934 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.405/1.405, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.835/1.835, allocations: 292.3 MB / 0.5495 GB, free: 17.41 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.001419/0.001419, allocations: 71.89 kB / 0.6722 GB, free: 6.48 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2286, allocations: 114.6 MB / 0.7841 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.3902/0.6188, allocations: 12.94 MB / 0.7967 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002628/0.6215, allocations: 2.649 MB / 0.7993 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.6216, allocations: 0 / 0.7993 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.622, allocations: 45.53 kB / 0.7993 GB, free: 41.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.6224, allocations: 97.52 kB / 0.7994 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.6236, allocations: 483.1 kB / 0.7999 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.6239, allocations: 234.5 kB / 0.8001 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.117e-05/0.624, allocations: 11.02 kB / 0.8001 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009524/0.6335, allocations: 3.573 MB / 0.8036 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.6337, allocations: 93.59 kB / 0.8037 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.6338, allocations: 9.344 kB / 0.8037 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/0.6366, allocations: 1.042 MB / 0.8047 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.6367, allocations: 41.11 kB / 0.8048 GB, free: 39.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.637e-05/0.6368, allocations: 81.64 kB / 0.8048 GB, free: 39.75 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006719/0.6374, allocations: 347.3 kB / 0.8052 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6375, allocations: 0 / 0.8052 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.225e-06/0.6375, allocations: 0.5 kB / 0.8052 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.6375, allocations: 0 / 0.8052 GB, free: 39.64 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.0007178/0.6382, allocations: 0.5017 MB / 0.8057 GB, free: 39.19 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.6383, allocations: 10.19 kB / 0.8057 GB, free: 39.19 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.6384, allocations: 22.3 kB / 0.8057 GB, free: 39.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.6387, allocations: 219.8 kB / 0.8059 GB, free: 38.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.6387, allocations: 11.2 kB / 0.8059 GB, free: 38.95 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.6387, allocations: 14 kB / 0.8059 GB, free: 38.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003967/0.6391, allocations: 250.3 kB / 0.8062 GB, free: 38.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.6391, allocations: 0 / 0.8062 GB, free: 38.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.6392, allocations: 11.16 kB / 0.8062 GB, free: 38.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.6392, allocations: 6.75 kB / 0.8062 GB, free: 38.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006042/0.6398, allocations: 431.6 kB / 0.8066 GB, free: 38.72 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009989/0.6408, allocations: 0.9622 MB / 0.8075 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.6411, allocations: 161.1 kB / 0.8077 GB, free: 37.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.6413, allocations: 65.77 kB / 0.8078 GB, free: 37.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.6423, allocations: 1.827 MB / 0.8095 GB, free: 35.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.6424, allocations: 37.66 kB / 0.8096 GB, free: 35.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.233e-06/0.6424, allocations: 0 / 0.8096 GB, free: 35.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0003707/0.6427, allocations: 143.7 kB / 0.8097 GB, free: 35.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.6428, allocations: 61.38 kB / 0.8098 GB, free: 35.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.6429, allocations: 169.6 kB / 0.8099 GB, free: 35.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.643, allocations: 32.3 kB / 0.81 GB, free: 35.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.175e-05/0.643, allocations: 141.6 kB / 0.8101 GB, free: 35.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.6431, allocations: 50.17 kB / 0.8101 GB, free: 35.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.158e-05/0.6432, allocations: 53.95 kB / 0.8102 GB, free: 35.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.84e-05/0.6432, allocations: 325.8 kB / 0.8105 GB, free: 34.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.12e-05/0.6433, allocations: 35.31 kB / 0.8105 GB, free: 34.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.6434, allocations: 145.1 kB / 0.8107 GB, free: 34.74 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.6437, allocations: 198.4 kB / 0.8109 GB, free: 34.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.6437, allocations: 1.406 kB / 0.8109 GB, free: 34.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003222/0.644, allocations: 217.2 kB / 0.8111 GB, free: 34.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.644, allocations: 7.562 kB / 0.8111 GB, free: 34.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.644, allocations: 3.812 kB / 0.8111 GB, free: 34.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.6441, allocations: 8.781 kB / 0.8111 GB, free: 34.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.6443, allocations: 60.05 kB / 0.8112 GB, free: 34.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.6443, allocations: 5.391 kB / 0.8112 GB, free: 34.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.6444, allocations: 28.41 kB / 0.8112 GB, free: 34.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.6444, allocations: 15.23 kB / 0.8112 GB, free: 34.42 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 8.756e-05/0.6445, allocations: 135.7 kB / 0.8113 GB, free: 34.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.6446, allocations: 18.16 kB / 0.8113 GB, free: 34.28 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.6449, allocations: 157.8 kB / 0.8115 GB, free: 34.21 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.6449, allocations: 6.969 kB / 0.8115 GB, free: 34.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6449, allocations: 1.125 kB / 0.8115 GB, free: 34.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.645, allocations: 1.312 kB / 0.8115 GB, free: 34.2 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.6452, allocations: 214.2 kB / 0.8117 GB, free: 33.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.6452, allocations: 5.453 kB / 0.8117 GB, free: 33.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.58e-05/0.6453, allocations: 22.86 kB / 0.8117 GB, free: 33.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.6453, allocations: 1.688 kB / 0.8117 GB, free: 33.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.6453, allocations: 10.7 kB / 0.8118 GB, free: 33.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.6453, allocations: 5.188 kB / 0.8118 GB, free: 33.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6453, allocations: 0.5625 kB / 0.8118 GB, free: 33.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.6456, allocations: 217.9 kB / 0.812 GB, free: 33.81 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/0.6457, allocations: 113.7 kB / 0.8121 GB, free: 33.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.6457, allocations: 8 kB / 0.8121 GB, free: 33.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.6459, allocations: 11.5 kB / 0.8121 GB, free: 33.69 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.6459, allocations: 8.031 kB / 0.8121 GB, free: 33.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.6459, allocations: 14.23 kB / 0.8121 GB, free: 33.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001013/0.646, allocations: 119.5 kB / 0.8122 GB, free: 33.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6461, allocations: 0 / 0.8122 GB, free: 33.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000441/0.6465, allocations: 77.56 kB / 0.8123 GB, free: 33.58 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.0005358/0.647, allocations: 189.4 kB / 0.8125 GB, free: 33.46 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003899/0.6474, allocations: 114.7 kB / 0.8126 GB, free: 33.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.6475, allocations: 4.062 kB / 0.8126 GB, free: 33.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.6476, allocations: 41.8 kB / 0.8126 GB, free: 33.42 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.6481, allocations: 55.83 kB / 0.8127 GB, free: 33.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009815/0.6491, allocations: 347 kB / 0.813 GB, free: 33.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.6494, allocations: 0.7129 MB / 0.8137 GB, free: 32.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002248/0.6496, allocations: 55.06 kB / 0.8138 GB, free: 32.49 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.6497, allocations: 22.56 kB / 0.8138 GB, free: 32.48 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.6497, allocations: 0 / 0.8138 GB, free: 32.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.009848/0.6596, allocations: 3.607 MB / 0.8173 GB, free: 32.15 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)