Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, 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.001168/0.001168, allocations: 164.9 kB / 327.6 MB, free: 2.082 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.609/1.609, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0007751/0.0007752, allocations: 90.34 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003426, allocations: 10.94 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2147, allocations: 106.3 MB / 0.9014 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01379/0.2286, allocations: 13.35 MB / 0.9145 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002288/0.2309, allocations: 2.617 MB / 0.917 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.2311, allocations: 3.938 kB / 0.917 GB, free: 47.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.2314, allocations: 39.8 kB / 0.9171 GB, free: 47.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.2318, allocations: 83.48 kB / 0.9172 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.2331, allocations: 420.3 kB / 0.9176 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.2334, allocations: 311.8 kB / 0.9179 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.307e-05/0.2335, allocations: 9.562 kB / 0.9179 GB, free: 46.42 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007588/0.241, allocations: 3.16 MB / 0.921 GB, free: 43.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.2412, allocations: 95.59 kB / 0.921 GB, free: 43.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.2413, allocations: 4 kB / 0.9211 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002569/0.2438, allocations: 0.9501 MB / 0.922 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.029e-05/0.2439, allocations: 35.84 kB / 0.922 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.2441, allocations: 105.3 kB / 0.9221 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006245/0.2447, allocations: 239.5 kB / 0.9223 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2447, allocations: 0 / 0.9223 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.198e-06/0.2447, allocations: 0 / 0.9223 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.2448, allocations: 7.875 kB / 0.9224 GB, free: 41.81 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.000816/0.2456, allocations: 467.4 kB / 0.9228 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.2456, allocations: 8.031 kB / 0.9228 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.2458, allocations: 28.73 kB / 0.9228 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.2461, allocations: 212.1 kB / 0.923 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.2461, allocations: 16.7 kB / 0.9231 GB, free: 41.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.2461, allocations: 16.38 kB / 0.9231 GB, free: 40.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/0.2465, allocations: 245.7 kB / 0.9233 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2465, allocations: 0 / 0.9233 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.2465, allocations: 12 kB / 0.9233 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/0.2466, allocations: 4 kB / 0.9233 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/0.247, allocations: 443.3 kB / 0.9237 GB, free: 40.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.248, allocations: 1.004 MB / 0.9247 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.2483, allocations: 159.1 kB / 0.9249 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.253e-05/0.2484, allocations: 60.88 kB / 0.9249 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009818/0.2494, allocations: 1.829 MB / 0.9267 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2494, allocations: 34.5 kB / 0.9267 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.2494, allocations: 3.938 kB / 0.9268 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0003113/0.2497, allocations: 154.7 kB / 0.9269 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.2497, allocations: 55.34 kB / 0.927 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.2499, allocations: 166.2 kB / 0.9271 GB, free: 36.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.2499, allocations: 29.7 kB / 0.9271 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.25, allocations: 135.8 kB / 0.9273 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.25, allocations: 59.2 kB / 0.9273 GB, free: 36.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-06/0.25, allocations: 4 kB / 0.9273 GB, free: 36.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.12e-05/0.2501, allocations: 330.8 kB / 0.9276 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.725e-05/0.2502, allocations: 27.98 kB / 0.9277 GB, free: 35.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.263e-05/0.2503, allocations: 141.7 kB / 0.9278 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.2505, allocations: 208.4 kB / 0.928 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2505, allocations: 0 / 0.928 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000289/0.2508, allocations: 213.5 kB / 0.9282 GB, free: 35.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.2508, allocations: 10.66 kB / 0.9282 GB, free: 35.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2508, allocations: 4 kB / 0.9282 GB, free: 35.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2508, allocations: 4 kB / 0.9282 GB, free: 35.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.251, allocations: 63.84 kB / 0.9283 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.251, allocations: 4 kB / 0.9283 GB, free: 35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.2511, allocations: 27.69 kB / 0.9283 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.2512, allocations: 12 kB / 0.9283 GB, free: 34.96 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 9.304e-05/0.2513, allocations: 150.4 kB / 0.9285 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.2513, allocations: 11.91 kB / 0.9285 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.2516, allocations: 159 kB / 0.9286 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.639e-06/0.2516, allocations: 3.938 kB / 0.9286 GB, free: 34.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2516, allocations: 0 / 0.9286 GB, free: 34.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2516, allocations: 0 / 0.9286 GB, free: 34.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.2518, allocations: 217.5 kB / 0.9288 GB, free: 34.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2518, allocations: 0 / 0.9288 GB, free: 34.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.583e-05/0.2519, allocations: 20 kB / 0.9289 GB, free: 34.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2519, allocations: 3.984 kB / 0.9289 GB, free: 34.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.252, allocations: 19.94 kB / 0.9289 GB, free: 34.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.252, allocations: 3.938 kB / 0.9289 GB, free: 34.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.252, allocations: 0 / 0.9289 GB, free: 34.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.2522, allocations: 218.1 kB / 0.9291 GB, free: 34.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.2523, allocations: 116.9 kB / 0.9292 GB, free: 33.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.2523, allocations: 3.938 kB / 0.9292 GB, free: 33.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.2525, allocations: 11.94 kB / 0.9292 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.2525, allocations: 11.98 kB / 0.9292 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.2525, allocations: 15.98 kB / 0.9293 GB, free: 33.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.635e-05/0.2526, allocations: 120.9 kB / 0.9294 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2526, allocations: 0 / 0.9294 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003593/0.253, allocations: 71.94 kB / 0.9294 GB, free: 33.73 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.0003195/0.2533, allocations: 179.1 kB / 0.9296 GB, free: 33.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.2535, allocations: 115.8 kB / 0.9297 GB, free: 33.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2535, allocations: 0.9375 kB / 0.9297 GB, free: 33.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.705e-05/0.2536, allocations: 43.92 kB / 0.9298 GB, free: 33.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.254, allocations: 51.95 kB / 0.9298 GB, free: 33.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000661/0.2547, allocations: 465.6 kB / 0.9303 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.2549, allocations: 0.7092 MB / 0.9309 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.255, allocations: 27.44 kB / 0.931 GB, free: 32.1 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.255, allocations: 7.938 kB / 0.931 GB, free: 32.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.006087/0.2611, allocations: 3.336 MB / 0.9342 GB, free: 28.78 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)