Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001263/0.001262, allocations: 180.4 kB / 327.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008099/0.0008102, allocations: 86.86 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003364, allocations: 9.156 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2529, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004401/0.2574, allocations: 4.376 MB / 0.9057 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.2597, allocations: 2.648 MB / 0.9083 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.2598, allocations: 0 / 0.9083 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.2601, allocations: 39.8 kB / 0.9083 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.2604, allocations: 87.48 kB / 0.9084 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.2616, allocations: 416.9 kB / 0.9088 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.2619, allocations: 303.8 kB / 0.9091 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.358e-05/0.262, allocations: 9.562 kB / 0.9091 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.2622, allocations: 115.5 kB / 0.9092 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.2623, allocations: 83.67 kB / 0.9093 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.2624, allocations: 12 kB / 0.9093 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007089/0.2631, allocations: 351.2 kB / 0.9097 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.907e-05/0.2632, allocations: 35.89 kB / 0.9097 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.522e-05/0.2633, allocations: 105.4 kB / 0.9098 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.2637, allocations: 227.8 kB / 0.91 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2637, allocations: 0 / 0.91 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2637, allocations: 0 / 0.91 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.2637, allocations: 0 / 0.91 GB, free: 54.7 MB / 0.6042 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.0006368/0.2643, allocations: 471.3 kB / 0.9105 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2644, allocations: 12.03 kB / 0.9105 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.2646, allocations: 24.75 kB / 0.9105 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.2647, allocations: 208.1 kB / 0.9107 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.2648, allocations: 8.703 kB / 0.9107 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.2648, allocations: 20.36 kB / 0.9107 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.2651, allocations: 253.7 kB / 0.911 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2651, allocations: 0 / 0.911 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.2652, allocations: 11.98 kB / 0.911 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/0.2652, allocations: 4 kB / 0.911 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00039/0.2656, allocations: 443.4 kB / 0.9114 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009254/0.2665, allocations: 0.9997 MB / 0.9124 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.2668, allocations: 160.9 kB / 0.9125 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.613e-05/0.2669, allocations: 61.53 kB / 0.9126 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009322/0.2678, allocations: 1.829 MB / 0.9144 GB, free: 49.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.2678, allocations: 34.56 kB / 0.9144 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.2679, allocations: 4 kB / 0.9144 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0002883/0.2681, allocations: 143.2 kB / 0.9145 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.2682, allocations: 55.34 kB / 0.9146 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.2683, allocations: 174.1 kB / 0.9148 GB, free: 49.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.2683, allocations: 25.7 kB / 0.9148 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.2684, allocations: 143.8 kB / 0.9149 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.2684, allocations: 55.25 kB / 0.915 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.2684, allocations: 4 kB / 0.915 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.315e-05/0.2685, allocations: 322.8 kB / 0.9153 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/0.2686, allocations: 35.97 kB / 0.9153 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.108e-05/0.2687, allocations: 145.6 kB / 0.9155 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.2688, allocations: 196.5 kB / 0.9156 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2689, allocations: 0 / 0.9156 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000265/0.2691, allocations: 221.1 kB / 0.9159 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2691, allocations: 4 kB / 0.9159 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.2692, allocations: 11.94 kB / 0.9159 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2692, allocations: 4 kB / 0.9159 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.2694, allocations: 55.86 kB / 0.9159 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.2694, allocations: 8.453 kB / 0.9159 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.2695, allocations: 27.75 kB / 0.916 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.2695, allocations: 16 kB / 0.916 GB, free: 47.84 MB / 0.6042 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.000115/0.2696, allocations: 137.6 kB / 0.9161 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.2697, allocations: 15.81 kB / 0.9161 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.2699, allocations: 159 kB / 0.9163 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.27, allocations: 7.922 kB / 0.9163 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.27, allocations: 0 / 0.9163 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.27, allocations: 4 kB / 0.9163 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.2702, allocations: 209.5 kB / 0.9165 GB, free: 47.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.2702, allocations: 0 / 0.9165 GB, free: 47.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.784e-05/0.2703, allocations: 31.92 kB / 0.9165 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2703, allocations: 0 / 0.9165 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.2703, allocations: 4 kB / 0.9165 GB, free: 47.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2703, allocations: 3.938 kB / 0.9165 GB, free: 47.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2703, allocations: 0 / 0.9165 GB, free: 47.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.2705, allocations: 226.4 kB / 0.9167 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.47e-05/0.2706, allocations: 108.9 kB / 0.9168 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.2706, allocations: 4 kB / 0.9168 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.2708, allocations: 15.92 kB / 0.9169 GB, free: 46.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.2708, allocations: 4 kB / 0.9169 GB, free: 46.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.2708, allocations: 19.97 kB / 0.9169 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.327e-05/0.2709, allocations: 120.9 kB / 0.917 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2709, allocations: 0 / 0.917 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003725/0.2713, allocations: 75.89 kB / 0.9171 GB, free: 46.62 MB / 0.6042 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.0003103/0.2716, allocations: 182.9 kB / 0.9172 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.2718, allocations: 124.6 kB / 0.9174 GB, free: 46.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.2718, allocations: 0 / 0.9174 GB, free: 46.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.5e-05/0.2719, allocations: 39.98 kB / 0.9174 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.2723, allocations: 39.97 kB / 0.9174 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006174/0.273, allocations: 459.2 kB / 0.9179 GB, free: 45.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.2731, allocations: 0.7131 MB / 0.9186 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.2732, allocations: 27.44 kB / 0.9186 GB, free: 45 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2732, allocations: 0 / 0.9186 GB, free: 45 MB / 0.6042 GB Notification: Performance of Templates: time 0.004649/0.2778, allocations: 3.087 MB / 0.9216 GB, free: 41.93 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)