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.001605/0.001605, allocations: 108 kB / 15.6 MB, free: 132 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.002077/0.002077, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.508/1.508, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.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.723/1.723, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001485/0.001485, allocations: 66.47 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2543, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01551/0.2699, allocations: 12.95 MB / 0.796 GB, free: 456 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002872/0.2728, allocations: 2.644 MB / 0.7986 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.2729, allocations: 0 / 0.7986 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.2733, allocations: 51.67 kB / 0.7986 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.2736, allocations: 103.3 kB / 0.7987 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.275, allocations: 490.8 kB / 0.7992 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.2752, allocations: 232 kB / 0.7994 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 5.841e-05/0.2753, allocations: 13.56 kB / 0.7994 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009074/0.2844, allocations: 3.573 MB / 0.8029 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.2847, allocations: 87.66 kB / 0.803 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.2847, allocations: 8 kB / 0.803 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003044/0.2877, allocations: 1.048 MB / 0.804 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/0.2878, allocations: 35.89 kB / 0.8041 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.288, allocations: 79.66 kB / 0.8041 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006544/0.2886, allocations: 355.1 kB / 0.8045 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2886, allocations: 0 / 0.8045 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2886, allocations: 0 / 0.8045 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.2887, allocations: 0 / 0.8045 GB, free: 7.738 MB / 0.6231 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.0007777/0.2894, allocations: 0.4904 MB / 0.805 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.2895, allocations: 12.03 kB / 0.805 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.2897, allocations: 28.75 kB / 0.805 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.2899, allocations: 220.1 kB / 0.8052 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.29, allocations: 20.62 kB / 0.8052 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.29, allocations: 16.38 kB / 0.8052 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/0.2905, allocations: 244.1 kB / 0.8055 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2905, allocations: 0 / 0.8055 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.2905, allocations: 12 kB / 0.8055 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/0.2906, allocations: 11.94 kB / 0.8055 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005786/0.2912, allocations: 423.5 kB / 0.8059 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.2926, allocations: 0.9604 MB / 0.8068 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.2929, allocations: 161.9 kB / 0.807 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.984e-05/0.293, allocations: 60.88 kB / 0.8071 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001454/0.2945, allocations: 1.84 MB / 0.8089 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.2946, allocations: 30.56 kB / 0.8089 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.2946, allocations: 0 / 0.8089 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0003352/0.2949, allocations: 149.4 kB / 0.809 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.295, allocations: 55.34 kB / 0.8091 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.2951, allocations: 164.4 kB / 0.8092 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.2951, allocations: 33.7 kB / 0.8093 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.475e-05/0.2952, allocations: 139.8 kB / 0.8094 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.2953, allocations: 59.19 kB / 0.8095 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.317e-05/0.2954, allocations: 49.7 kB / 0.8095 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.2955, allocations: 322.8 kB / 0.8098 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.543e-05/0.2956, allocations: 39.92 kB / 0.8099 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.2957, allocations: 144.7 kB / 0.81 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.2959, allocations: 193.5 kB / 0.8102 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.296, allocations: 3.938 kB / 0.8102 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003295/0.2963, allocations: 217.1 kB / 0.8104 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2963, allocations: 8 kB / 0.8104 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2963, allocations: 4 kB / 0.8104 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.2964, allocations: 4 kB / 0.8104 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.2965, allocations: 55.86 kB / 0.8105 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2965, allocations: 4 kB / 0.8105 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.2967, allocations: 31.69 kB / 0.8105 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.2967, allocations: 16.39 kB / 0.8105 GB, free: 0.8477 MB / 0.6231 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.0001087/0.2968, allocations: 133.7 kB / 0.8106 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.2969, allocations: 19.81 kB / 0.8107 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.2971, allocations: 153.9 kB / 0.8108 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.2972, allocations: 7.938 kB / 0.8108 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2972, allocations: 0 / 0.8108 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.2972, allocations: 3.984 kB / 0.8108 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.2974, allocations: 217.5 kB / 0.811 GB, free: 272 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.2974, allocations: 0 / 0.811 GB, free: 272 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.575e-05/0.2975, allocations: 35.86 kB / 0.8111 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2975, allocations: 0 / 0.8111 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.2976, allocations: 8 kB / 0.8111 GB, free: 228 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.2976, allocations: 7.938 kB / 0.8111 GB, free: 220 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2976, allocations: 0 / 0.8111 GB, free: 220 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.2979, allocations: 215.5 kB / 0.8113 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-05/0.298, allocations: 104.7 kB / 0.8114 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.298, allocations: 8 kB / 0.8114 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.2982, allocations: 15.92 kB / 0.8114 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.2982, allocations: 15.92 kB / 0.8114 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.2982, allocations: 8 kB / 0.8114 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 8.165e-05/0.2983, allocations: 118.1 kB / 0.8115 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.335e-06/0.2983, allocations: 0 / 0.8115 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004002/0.2987, allocations: 79.86 kB / 0.8116 GB, free: 15.63 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: 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.0004105/0.2992, allocations: 183.1 kB / 0.8118 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.2994, allocations: 132.4 kB / 0.8119 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2994, allocations: 256 / 0.8119 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.357e-05/0.2995, allocations: 47.92 kB / 0.812 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.2999, allocations: 44.89 kB / 0.812 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006728/0.3006, allocations: 353 kB / 0.8123 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.3009, allocations: 0.705 MB / 0.813 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001741/0.3011, allocations: 57.72 kB / 0.8131 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.3012, allocations: 23.44 kB / 0.8131 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.3012, allocations: 0 / 0.8131 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of Templates: time 0.006922/0.3081, allocations: 3.592 MB / 0.8166 GB, free: 10.49 MB / 0.6387 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)