Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.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.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.273/1.273, allocations: 252 MB / 267.9 MB, free: 10.91 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.0009226/0.0009227, allocations: 182.7 kB / 327.6 MB, free: 2.152 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.486/1.486, allocations: 205.4 MB / 0.5785 GB, free: 20.25 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.0007532/0.0007532, allocations: 87.8 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003952, allocations: 13.25 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2098, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8431/1.053, allocations: 415.6 MB / 1.307 GB, free: 15.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/1.053, allocations: 97.58 kB / 1.307 GB, free: 14.99 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.236/8.29, allocations: 2.263 GB / 3.57 GB, free: 122.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.204e-06/8.29, allocations: 0 / 3.57 GB, free: 122.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001389/8.291, allocations: 262.5 kB / 3.571 GB, free: 122.4 MB / 0.9167 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.03153/8.323, allocations: 9.374 MB / 3.58 GB, free: 119 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/8.323, allocations: 12.91 kB / 3.58 GB, free: 119 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008156/8.331, allocations: 1.234 MB / 3.581 GB, free: 118.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03035/8.361, allocations: 12.18 MB / 3.593 GB, free: 116.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005459/8.362, allocations: 438.7 kB / 3.593 GB, free: 116.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002631/8.364, allocations: 0.5872 MB / 3.594 GB, free: 116.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02624/8.391, allocations: 13.68 MB / 3.607 GB, free: 116 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003728/8.391, allocations: 26.25 kB / 3.607 GB, free: 116 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002552/8.394, allocations: 242.5 kB / 3.607 GB, free: 116 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/8.394, allocations: 137.3 kB / 3.608 GB, free: 116 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02583/8.42, allocations: 18.34 MB / 3.626 GB, free: 115.9 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0824/8.502, allocations: 55.17 MB / 3.679 GB, free: 97.17 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/8.513, allocations: 8.847 MB / 3.688 GB, free: 93.69 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01063/8.524, allocations: 9.372 MB / 3.697 GB, free: 89.93 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04557/8.569, allocations: 26.17 MB / 3.723 GB, free: 74.27 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009865/8.579, allocations: 7.426 MB / 3.73 GB, free: 68.88 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04208/8.621, allocations: 21.13 MB / 3.751 GB, free: 48.24 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=301): time 2.843e-05/8.621, allocations: 0 / 3.751 GB, free: 48.24 MB / 0.9167 GB Notification: Performance of matching and sorting (n=301): time 0.04322/8.664, allocations: 23 MB / 3.773 GB, free: 25.19 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/8.665, allocations: 89.78 kB / 3.773 GB, free: 25.09 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.013/8.678, allocations: 7.78 MB / 3.781 GB, free: 17.32 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001973/8.68, allocations: 101.7 kB / 3.781 GB, free: 17.22 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00343/8.683, allocations: 4.001 MB / 3.785 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002471/8.686, allocations: 1.086 MB / 3.786 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001542/8.687, allocations: 92 kB / 3.786 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003039/8.687, allocations: 495.8 kB / 3.786 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007996/8.695, allocations: 6.18 MB / 3.792 GB, free: 5.363 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009796/8.705, allocations: 8.024 MB / 3.8 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5215/9.227, allocations: 14.58 MB / 3.815 GB, free: 136.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.235e-05/9.227, allocations: 16.38 kB / 3.815 GB, free: 136.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03811/9.265, allocations: 16.68 MB / 3.831 GB, free: 135.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001033/9.266, allocations: 1.539 MB / 3.832 GB, free: 134 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.677e-05/9.266, allocations: 53.28 kB / 3.832 GB, free: 134 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06594/9.332, allocations: 11.04 MB / 3.843 GB, free: 134 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008277/9.34, allocations: 1.595 MB / 3.845 GB, free: 134 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008097/9.349, allocations: 6.329 MB / 3.851 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01144/9.36, allocations: 0.5699 MB / 3.851 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002724/9.363, allocations: 0.5401 MB / 3.852 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/9.363, allocations: 3.375 kB / 3.852 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03099/9.394, allocations: 15.92 MB / 3.868 GB, free: 130.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001933/9.394, allocations: 50.05 kB / 3.868 GB, free: 130.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05926/9.453, allocations: 10.61 MB / 3.878 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008071/9.461, allocations: 1.6 MB / 3.879 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/9.473, allocations: 10.22 MB / 3.889 GB, free: 126 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01088/9.484, allocations: 0.5554 MB / 3.89 GB, free: 126 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002539/9.487, allocations: 0.54 MB / 3.891 GB, free: 126 MB / 0.9323 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 () * Number of clocked 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.007798/9.495, allocations: 2.633 MB / 3.893 GB, free: 125.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003767/9.498, allocations: 0.7546 MB / 3.894 GB, free: 125.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02409/9.523, allocations: 13.65 MB / 3.907 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-05/9.523, allocations: 40.41 kB / 3.907 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/9.523, allocations: 3.188 kB / 3.907 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01258/9.535, allocations: 10.26 MB / 3.917 GB, free: 124.8 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 postOpt removeSimpleEquations (simulation): time 0.03599/9.571, allocations: 23.82 MB / 3.941 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/9.571, allocations: 3.422 kB / 3.941 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004339/9.576, allocations: 0.7017 MB / 3.941 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05914/9.635, allocations: 9.927 MB / 3.951 GB, free: 120.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001141/9.636, allocations: 103.3 kB / 3.951 GB, free: 120.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00408/9.64, allocations: 4.325 MB / 3.955 GB, free: 118 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/9.64, allocations: 3.75 kB / 3.955 GB, free: 118 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02589/9.666, allocations: 18.44 MB / 3.973 GB, free: 117.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006231/9.672, allocations: 1.902 MB / 3.975 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002936/9.675, allocations: 73.2 kB / 3.975 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007259/9.683, allocations: 399.8 kB / 3.976 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001118/9.684, allocations: 221.6 kB / 3.976 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009704/9.685, allocations: 163.2 kB / 3.976 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0105/9.695, allocations: 5.326 MB / 3.981 GB, free: 116.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.6e-07/9.695, allocations: 0 / 3.981 GB, free: 116.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.02193/9.717, allocations: 4.874 MB / 3.986 GB, free: 116.3 MB / 0.9323 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) * Number of clocked states: 0 () * 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.004384/9.722, allocations: 1.235 MB / 3.987 GB, free: 116 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.03588/9.758, allocations: 23.57 MB / 4.01 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/9.758, allocations: 0 / 4.01 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.008652/9.766, allocations: 6.197 MB / 4.016 GB, free: 105.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02719/9.793, allocations: 4.599 MB / 4.021 GB, free: 104.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0379/9.831, allocations: 22.29 MB / 4.042 GB, free: 90.45 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004833/9.836, allocations: 5.205 MB / 4.047 GB, free: 86.55 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01965/9.856, allocations: 4.936 MB / 4.052 GB, free: 82.69 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005355/9.861, allocations: 0.905 MB / 4.053 GB, free: 82.03 MB / 0.9323 GB Notification: Performance of SimCode: time 5.92e-07/9.861, allocations: 3.938 kB / 4.053 GB, free: 82.03 MB / 0.9323 GB Notification: Performance of Templates: time 0.7839/10.65, allocations: 219.2 MB / 4.267 GB, free: 122.7 MB / 0.948 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)