Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.637/1.637, allocations: 289.9 MB / 297.4 MB, free: 6.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 172.8 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.3 MB / 0.626 GB, free: 7.199 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008308/0.0008309, allocations: 88.61 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.66e-05/1.662e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7474/0.7474, allocations: 116.3 MB / 0.9732 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.124/1.871, allocations: 421.9 MB / 1.385 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/1.871, allocations: 93.83 kB / 1.385 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.075/9.946, allocations: 2.261 GB / 3.646 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.165e-06/9.947, allocations: 0 / 3.646 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001569/9.948, allocations: 258.1 kB / 3.646 GB, free: 109.6 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.02881/9.977, allocations: 7.305 MB / 3.653 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/9.977, allocations: 14.3 kB / 3.653 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00904/9.986, allocations: 1.23 MB / 3.655 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0342/10.02, allocations: 12.53 MB / 3.667 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006358/10.02, allocations: 179.1 kB / 3.667 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004035/10.03, allocations: 353.8 kB / 3.667 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02638/10.05, allocations: 17.76 MB / 3.685 GB, free: 104.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03068/10.08, allocations: 12.54 MB / 3.697 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002351/10.08, allocations: 19 kB / 3.697 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001833/10.08, allocations: 22.14 kB / 3.697 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.578e-05/10.08, allocations: 138.9 kB / 3.697 GB, free: 101.1 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0908/10.18, allocations: 54.54 MB / 3.75 GB, free: 66.8 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/10.19, allocations: 8.649 MB / 3.759 GB, free: 58.71 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01057/10.2, allocations: 9.19 MB / 3.768 GB, free: 49.52 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04853/10.25, allocations: 26.29 MB / 3.793 GB, free: 22.92 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008849/10.25, allocations: 7.207 MB / 3.8 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.7556/11.01, allocations: 21.04 MB / 3.821 GB, free: 113.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 4.109e-05/11.01, allocations: 0.8125 kB / 3.821 GB, free: 113.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.04232/11.05, allocations: 15.04 MB / 3.836 GB, free: 113.3 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/11.05, allocations: 86.12 kB / 3.836 GB, free: 113.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01208/11.06, allocations: 6.395 MB / 3.842 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002735/11.07, allocations: 33.2 kB / 3.842 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00459/11.07, allocations: 3.99 MB / 3.846 GB, free: 112.1 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003469/11.08, allocations: 1.041 MB / 3.847 GB, free: 111.6 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009469/11.08, allocations: 0 / 3.847 GB, free: 111.6 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003255/11.08, allocations: 493.5 kB / 3.847 GB, free: 111.3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006927/11.08, allocations: 6.031 MB / 3.853 GB, free: 111.3 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009014/11.09, allocations: 7.793 MB / 3.861 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0163/11.11, allocations: 7.551 MB / 3.868 GB, free: 109 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001112/11.11, allocations: 13.72 kB / 3.868 GB, free: 109 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.04236/11.15, allocations: 16.57 MB / 3.884 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.005133/11.16, allocations: 24.56 MB / 3.908 GB, free: 82.87 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001774/11.16, allocations: 47.97 kB / 3.908 GB, free: 82.87 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005039/11.16, allocations: 1.551 MB / 3.91 GB, free: 82.83 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009853/11.17, allocations: 1.597 MB / 3.912 GB, free: 82.83 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01635/11.19, allocations: 6.953 MB / 3.918 GB, free: 79.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01361/11.2, allocations: 0.5083 MB / 3.919 GB, free: 79.94 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003858/11.21, allocations: 0.5472 MB / 3.919 GB, free: 79.94 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/11.21, allocations: 3.109 kB / 3.919 GB, free: 79.94 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04155/11.25, allocations: 15.74 MB / 3.935 GB, free: 79.67 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003064/11.25, allocations: 51.47 kB / 3.935 GB, free: 79.67 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0043/11.25, allocations: 1.419 MB / 3.936 GB, free: 79.63 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009083/11.26, allocations: 1.596 MB / 3.938 GB, free: 79.63 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02056/11.28, allocations: 10.51 MB / 3.948 GB, free: 91.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01288/11.29, allocations: 487.4 kB / 3.948 GB, free: 91.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003412/11.3, allocations: 0.5346 MB / 3.949 GB, free: 91.11 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.006317/11.3, allocations: 268 kB / 3.949 GB, free: 91 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005507/11.31, allocations: 0.6926 MB / 3.95 GB, free: 90.64 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03582/11.35, allocations: 13.75 MB / 3.963 GB, free: 90.34 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.161e-05/11.35, allocations: 41.58 kB / 3.963 GB, free: 90.34 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.928e-05/11.35, allocations: 0 / 3.963 GB, free: 90.34 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02033/11.37, allocations: 10.46 MB / 3.974 GB, free: 89.84 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04949/11.42, allocations: 23.49 MB / 3.997 GB, free: 86.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-05/11.42, allocations: 2.25 kB / 3.997 GB, free: 86.64 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005437/11.42, allocations: 0.6992 MB / 3.997 GB, free: 86.64 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001824/11.42, allocations: 0.7018 MB / 3.998 GB, free: 86.59 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001113/11.42, allocations: 66.22 kB / 3.998 GB, free: 86.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008717/11.43, allocations: 4.999 MB / 4.003 GB, free: 83.77 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/11.43, allocations: 3.938 kB / 4.003 GB, free: 83.77 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03203/11.47, allocations: 18.47 MB / 4.021 GB, free: 79.82 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007524/11.47, allocations: 1.922 MB / 4.023 GB, free: 78.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004086/11.48, allocations: 18.47 kB / 4.023 GB, free: 78.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01029/11.49, allocations: 365.9 kB / 4.023 GB, free: 78.94 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001549/11.49, allocations: 219.5 kB / 4.023 GB, free: 78.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001593/11.49, allocations: 162.3 kB / 4.024 GB, free: 78.89 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.01156/11.5, allocations: 4.848 MB / 4.028 GB, free: 77.27 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.704e-06/11.5, allocations: 0 / 4.028 GB, free: 77.27 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.03125/11.53, allocations: 5.018 MB / 4.033 GB, free: 76.95 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004243/11.54, allocations: 1.176 MB / 4.034 GB, free: 76.64 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.04216/11.58, allocations: 23.05 MB / 4.057 GB, free: 66.96 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.592e-05/11.58, allocations: 3.156 kB / 4.057 GB, free: 66.96 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01173/11.59, allocations: 6.007 MB / 4.063 GB, free: 63.95 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02437/11.62, allocations: 4.006 MB / 4.067 GB, free: 63.14 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03875/11.65, allocations: 16.76 MB / 4.083 GB, free: 57.09 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007765/11.66, allocations: 5.372 MB / 4.088 GB, free: 55.55 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.03009/11.69, allocations: 7.257 MB / 4.095 GB, free: 54.46 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005394/11.7, allocations: 0.7409 MB / 4.096 GB, free: 54.43 MB / 0.9948 GB Notification: Performance of SimCode: time 1.353e-06/11.7, allocations: 3.781 kB / 4.096 GB, free: 54.43 MB / 0.9948 GB Notification: Performance of Templates: time 0.9921/12.69, allocations: 198.3 MB / 4.29 GB, free: 137.3 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)