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.001136/0.001136, allocations: 100.4 kB / 16.27 MB, free: 5.969 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.001238/0.001239, allocations: 187.3 kB / 17.2 MB, free: 5.602 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.444/1.444, 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.869/1.869, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.001462/0.001462, allocations: 75.41 kB / 0.6722 GB, free: 6.605 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2715, allocations: 114.6 MB / 0.784 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.5029/0.7744, allocations: 12.94 MB / 0.7967 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002677/0.7772, allocations: 2.647 MB / 0.7992 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.7774, allocations: 3.938 kB / 0.7992 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.7777, allocations: 39.42 kB / 0.7993 GB, free: 41.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.7781, allocations: 97.41 kB / 0.7994 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.7795, allocations: 486.6 kB / 0.7998 GB, free: 41.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.7797, allocations: 227.8 kB / 0.8001 GB, free: 41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.458e-05/0.7798, allocations: 8.531 kB / 0.8001 GB, free: 41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01039/0.7902, allocations: 3.589 MB / 0.8036 GB, free: 40.1 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.7905, allocations: 90.39 kB / 0.8037 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.7905, allocations: 8.031 kB / 0.8037 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.7936, allocations: 1.043 MB / 0.8047 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.7938, allocations: 34.89 kB / 0.8047 GB, free: 39.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.7939, allocations: 81.89 kB / 0.8048 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009347/0.7949, allocations: 348.7 kB / 0.8051 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.7949, allocations: 1.656 kB / 0.8051 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7949, allocations: 0 / 0.8051 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.7949, allocations: 4 kB / 0.8051 GB, free: 39.68 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.0007886/0.7957, allocations: 0.4955 MB / 0.8056 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.7958, allocations: 10.03 kB / 0.8056 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.796, allocations: 22.94 kB / 0.8057 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.7962, allocations: 217.5 kB / 0.8059 GB, free: 39.01 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.7962, allocations: 11.39 kB / 0.8059 GB, free: 39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.7963, allocations: 18.38 kB / 0.8059 GB, free: 39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.7967, allocations: 245.7 kB / 0.8061 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.7967, allocations: 0.625 kB / 0.8061 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.7968, allocations: 11.55 kB / 0.8061 GB, free: 38.85 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.7968, allocations: 6.266 kB / 0.8061 GB, free: 38.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007624/0.7976, allocations: 428 kB / 0.8065 GB, free: 38.78 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.7989, allocations: 0.959 MB / 0.8075 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.7992, allocations: 162.5 kB / 0.8076 GB, free: 37.87 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.7994, allocations: 69.7 kB / 0.8077 GB, free: 37.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/0.8007, allocations: 1.826 MB / 0.8095 GB, free: 35.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.8007, allocations: 36.12 kB / 0.8095 GB, free: 35.76 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/0.8007, allocations: 0 / 0.8095 GB, free: 35.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0004615/0.8012, allocations: 146.2 kB / 0.8097 GB, free: 35.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.8013, allocations: 65.56 kB / 0.8097 GB, free: 35.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.8015, allocations: 165 kB / 0.8099 GB, free: 35.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.8015, allocations: 31.77 kB / 0.8099 GB, free: 35.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.8016, allocations: 138 kB / 0.81 GB, free: 35.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.8016, allocations: 54.81 kB / 0.8101 GB, free: 35.3 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.471e-05/0.8017, allocations: 53.14 kB / 0.8101 GB, free: 35.26 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.8018, allocations: 326.7 kB / 0.8105 GB, free: 34.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.868e-05/0.8019, allocations: 39.06 kB / 0.8105 GB, free: 34.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.802, allocations: 137.9 kB / 0.8106 GB, free: 34.79 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.8023, allocations: 202.1 kB / 0.8108 GB, free: 34.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.8023, allocations: 0.7812 kB / 0.8108 GB, free: 34.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003852/0.8027, allocations: 210.3 kB / 0.811 GB, free: 34.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.8027, allocations: 5.875 kB / 0.811 GB, free: 34.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.8028, allocations: 6.906 kB / 0.811 GB, free: 34.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.8028, allocations: 6.125 kB / 0.811 GB, free: 34.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.803, allocations: 64.47 kB / 0.8111 GB, free: 34.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.803, allocations: 14.08 kB / 0.8111 GB, free: 34.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.8032, allocations: 26.55 kB / 0.8111 GB, free: 34.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.8032, allocations: 15.05 kB / 0.8112 GB, free: 34.47 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 0.0001177/0.8033, allocations: 135.8 kB / 0.8113 GB, free: 34.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.8034, allocations: 16.72 kB / 0.8113 GB, free: 34.33 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.8038, allocations: 153.1 kB / 0.8114 GB, free: 34.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.8038, allocations: 6.656 kB / 0.8115 GB, free: 34.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.8038, allocations: 4.656 kB / 0.8115 GB, free: 34.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.8038, allocations: 1.234 kB / 0.8115 GB, free: 34.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.8041, allocations: 215.1 kB / 0.8117 GB, free: 34.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.8041, allocations: 0.625 kB / 0.8117 GB, free: 34.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.8042, allocations: 27.3 kB / 0.8117 GB, free: 34.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.8042, allocations: 0 / 0.8117 GB, free: 34.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.8043, allocations: 8.828 kB / 0.8117 GB, free: 34.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.8043, allocations: 4.812 kB / 0.8117 GB, free: 34.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.8043, allocations: 1.375 kB / 0.8117 GB, free: 34.03 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.8046, allocations: 218.6 kB / 0.8119 GB, free: 33.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.8047, allocations: 115.9 kB / 0.812 GB, free: 33.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.8047, allocations: 5.969 kB / 0.812 GB, free: 33.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.8049, allocations: 12.08 kB / 0.812 GB, free: 33.74 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.805, allocations: 12.89 kB / 0.8121 GB, free: 33.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.805, allocations: 9.328 kB / 0.8121 GB, free: 33.74 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001141/0.8051, allocations: 118.8 kB / 0.8122 GB, free: 33.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8051, allocations: 0 / 0.8122 GB, free: 33.65 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005141/0.8056, allocations: 79.03 kB / 0.8122 GB, free: 33.63 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.0004509/0.8061, allocations: 180.5 kB / 0.8124 GB, free: 33.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003273/0.8064, allocations: 135.6 kB / 0.8126 GB, free: 33.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.8065, allocations: 0.75 kB / 0.8126 GB, free: 33.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.825e-05/0.8065, allocations: 45.62 kB / 0.8126 GB, free: 33.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.807, allocations: 57.14 kB / 0.8126 GB, free: 33.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009318/0.808, allocations: 368.4 kB / 0.813 GB, free: 33.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.8083, allocations: 0.7186 MB / 0.8137 GB, free: 32.51 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.8084, allocations: 29.94 kB / 0.8137 GB, free: 32.5 MB / 0.6544 GB Notification: Performance of SimCode: time 6.41e-07/0.8084, allocations: 0 / 0.8137 GB, free: 32.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.007699/0.8161, allocations: 3.383 MB / 0.817 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 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)