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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005703/0.005703, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001488/0.001488, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.484/1.484, allocations: 205.1 MB / 222.5 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.65/1.65, allocations: 251.7 MB / 0.5094 GB, free: 3.012 MB / 414.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.001427/0.001427, allocations: 75.88 kB / 0.7258 GB, free: 8.949 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2421, allocations: 104.7 MB / 0.8281 GB, free: 148 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006249/0.2484, allocations: 4.721 MB / 0.8327 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002699/0.2511, allocations: 2.667 MB / 0.8353 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.707e-05/0.2512, allocations: 4 kB / 0.8353 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.2515, allocations: 47.67 kB / 0.8353 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.2518, allocations: 95.36 kB / 0.8354 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.2528, allocations: 479.9 kB / 0.8359 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.2531, allocations: 231.9 kB / 0.8361 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.414e-05/0.2531, allocations: 9.547 kB / 0.8361 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.2534, allocations: 115.6 kB / 0.8362 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.2535, allocations: 95.58 kB / 0.8363 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.2535, allocations: 8 kB / 0.8363 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005818/0.2541, allocations: 335.4 kB / 0.8366 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.2542, allocations: 35.89 kB / 0.8367 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.204e-05/0.2543, allocations: 79.59 kB / 0.8367 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005065/0.2548, allocations: 347.1 kB / 0.8371 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2548, allocations: 0 / 0.8371 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2548, allocations: 0 / 0.8371 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2548, allocations: 0 / 0.8371 GB, free: 6.867 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.0007192/0.2556, allocations: 0.4993 MB / 0.8376 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2556, allocations: 12.03 kB / 0.8376 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.2558, allocations: 20.75 kB / 0.8376 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.256, allocations: 212.1 kB / 0.8378 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.2561, allocations: 12.7 kB / 0.8378 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.2561, allocations: 16.38 kB / 0.8378 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.2565, allocations: 249.1 kB / 0.8381 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2565, allocations: 0 / 0.8381 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.2565, allocations: 8 kB / 0.8381 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.2565, allocations: 4 kB / 0.8381 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004547/0.257, allocations: 443.4 kB / 0.8385 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.2581, allocations: 1.004 MB / 0.8395 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.2584, allocations: 169.3 kB / 0.8396 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.2585, allocations: 64.88 kB / 0.8397 GB, free: 3.969 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001525/0.26, allocations: 1.817 MB / 0.8415 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.2601, allocations: 46.55 kB / 0.8415 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.2601, allocations: 0 / 0.8415 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0003637/0.2604, allocations: 145.4 kB / 0.8417 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.2605, allocations: 59.34 kB / 0.8417 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.2607, allocations: 163.3 kB / 0.8419 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.2607, allocations: 29.7 kB / 0.8419 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.945e-05/0.2608, allocations: 139.8 kB / 0.842 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.2609, allocations: 51.2 kB / 0.8421 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.2609, allocations: 57.61 kB / 0.8421 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2611, allocations: 326.8 kB / 0.8424 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.776e-05/0.2611, allocations: 35.92 kB / 0.8425 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.2613, allocations: 137.7 kB / 0.8426 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.2615, allocations: 200.4 kB / 0.8428 GB, free: 280 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.2616, allocations: 4 kB / 0.8428 GB, free: 276 kB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003142/0.2619, allocations: 213.5 kB / 0.843 GB, free: 56 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.2619, allocations: 12.03 kB / 0.843 GB, free: 44 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2619, allocations: 7.938 kB / 0.843 GB, free: 36 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.2619, allocations: 4 kB / 0.843 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.2621, allocations: 55.92 kB / 0.8431 GB, free: 15.97 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.2622, allocations: 8 kB / 0.8431 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.2623, allocations: 27.62 kB / 0.8431 GB, free: 15.94 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.2623, allocations: 19.98 kB / 0.8431 GB, free: 15.92 MB / 0.67 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.0001166/0.2624, allocations: 137.6 kB / 0.8433 GB, free: 15.78 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.2625, allocations: 19.81 kB / 0.8433 GB, free: 15.76 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003248/0.2628, allocations: 150.1 kB / 0.8434 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.2628, allocations: 7.938 kB / 0.8434 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2629, allocations: 0 / 0.8434 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.2629, allocations: 7.969 kB / 0.8435 GB, free: 15.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.2631, allocations: 213.5 kB / 0.8437 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2631, allocations: 0 / 0.8437 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-05/0.2632, allocations: 27.92 kB / 0.8437 GB, free: 15.31 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2632, allocations: 0 / 0.8437 GB, free: 15.31 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.2632, allocations: 8 kB / 0.8437 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2633, allocations: 11.88 kB / 0.8437 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2633, allocations: 0 / 0.8437 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.2635, allocations: 223.3 kB / 0.8439 GB, free: 15.06 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 8.729e-05/0.2636, allocations: 101 kB / 0.844 GB, free: 14.94 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.2636, allocations: 4 kB / 0.844 GB, free: 14.94 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2638, allocations: 11.94 kB / 0.844 GB, free: 14.93 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.2638, allocations: 7.984 kB / 0.844 GB, free: 14.92 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.2639, allocations: 11.98 kB / 0.844 GB, free: 14.91 MB / 0.67 GB Notification: Performance of sorting global known variables: time 7.917e-05/0.264, allocations: 124 kB / 0.8442 GB, free: 14.79 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.264, allocations: 0 / 0.8442 GB, free: 14.79 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003566/0.2643, allocations: 71.94 kB / 0.8442 GB, free: 14.71 MB / 0.67 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.0002673/0.2646, allocations: 171.1 kB / 0.8444 GB, free: 14.54 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.2648, allocations: 127.7 kB / 0.8445 GB, free: 14.41 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2649, allocations: 0 / 0.8445 GB, free: 14.41 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 6.366e-05/0.2649, allocations: 43.97 kB / 0.8446 GB, free: 14.37 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.2653, allocations: 67.48 kB / 0.8446 GB, free: 14.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006466/0.266, allocations: 338.8 kB / 0.8449 GB, free: 13.95 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.2663, allocations: 0.7128 MB / 0.8456 GB, free: 13.21 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001343/0.2664, allocations: 45.8 kB / 0.8457 GB, free: 13.16 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.2665, allocations: 23.44 kB / 0.8457 GB, free: 13.14 MB / 0.67 GB Notification: Performance of SimCode: time 2.6e-07/0.2665, allocations: 4 kB / 0.8457 GB, free: 13.14 MB / 0.67 GB Notification: Performance of Templates: time 0.007789/0.2743, allocations: 3.345 MB / 0.849 GB, free: 9.832 MB / 0.67 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)