Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2") translateModel(BuildingSystems.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7877/0.7877, allocations: 140.1 MB / 156 MB, free: 5.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 165.5 kB / 188.5 MB, free: 15.85 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.4 MB / 426.3 MB, free: 8.484 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 90.36 kB / 0.4945 GB, free: 8.426 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001841/0.001841, allocations: 277.4 kB / 0.5729 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005316/0.0005316, allocations: 16 kB / 0.662 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.4449, allocations: 79.31 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8384/1.283, allocations: 390.9 MB / 1.121 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/1.284, allocations: 99.52 kB / 1.121 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.677/9.96, allocations: 2.264 GB / 3.385 GB, free: 72.05 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.456e-06/9.96, allocations: 2.438 kB / 3.385 GB, free: 72.05 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.002578/9.963, allocations: 257.9 kB / 3.385 GB, free: 72 MB / 0.7292 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.0527/10.02, allocations: 9.384 MB / 3.394 GB, free: 68.46 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/10.02, allocations: 11.56 kB / 3.394 GB, free: 68.46 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009728/10.03, allocations: 1.232 MB / 3.395 GB, free: 67.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03234/10.06, allocations: 12.21 MB / 3.407 GB, free: 66.28 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000537/10.06, allocations: 438.2 kB / 3.408 GB, free: 66.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002969/10.06, allocations: 0.5839 MB / 3.408 GB, free: 66.26 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03194/10.09, allocations: 13.67 MB / 3.422 GB, free: 65.44 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003108/10.09, allocations: 30.59 kB / 3.422 GB, free: 65.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002706/10.1, allocations: 239.5 kB / 3.422 GB, free: 65.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/10.1, allocations: 140.4 kB / 3.422 GB, free: 65.43 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02962/10.13, allocations: 18.34 MB / 3.44 GB, free: 65.39 MB / 0.7292 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.1001/10.23, allocations: 55.17 MB / 3.494 GB, free: 45.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01204/10.24, allocations: 8.837 MB / 3.503 GB, free: 41.48 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01263/10.25, allocations: 9.368 MB / 3.512 GB, free: 37.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04915/10.3, allocations: 26.18 MB / 3.537 GB, free: 20.12 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01191/10.31, allocations: 7.418 MB / 3.545 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.5959/10.91, allocations: 21.13 MB / 3.565 GB, free: 77.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=301): time 4.108e-05/10.91, allocations: 0 / 3.565 GB, free: 77.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=301): time 0.0548/10.96, allocations: 23 MB / 3.588 GB, free: 77.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/10.96, allocations: 86.7 kB / 3.588 GB, free: 77.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01769/10.98, allocations: 7.786 MB / 3.595 GB, free: 76.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.002774/10.98, allocations: 100.8 kB / 3.595 GB, free: 76.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.004379/10.99, allocations: 3.993 MB / 3.599 GB, free: 76.54 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.003564/10.99, allocations: 1.083 MB / 3.6 GB, free: 76.01 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009241/10.99, allocations: 91.75 kB / 3.6 GB, free: 76.01 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003248/10.99, allocations: 497.6 kB / 3.601 GB, free: 75.69 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008565/11, allocations: 6.186 MB / 3.607 GB, free: 75.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01083/11.01, allocations: 8.02 MB / 3.615 GB, free: 73.47 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02224/11.03, allocations: 14.58 MB / 3.629 GB, free: 71.67 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.749e-05/11.04, allocations: 13.66 kB / 3.629 GB, free: 71.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.0405/11.08, allocations: 16.69 MB / 3.645 GB, free: 71.08 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001465/11.08, allocations: 1.542 MB / 3.647 GB, free: 69.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001472/11.08, allocations: 49.69 kB / 3.647 GB, free: 69.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06069/11.14, allocations: 11.04 MB / 3.658 GB, free: 68.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009606/11.15, allocations: 1.601 MB / 3.659 GB, free: 68.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008928/11.16, allocations: 6.334 MB / 3.665 GB, free: 65.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01386/11.17, allocations: 0.5674 MB / 3.666 GB, free: 65.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003823/11.17, allocations: 0.5418 MB / 3.667 GB, free: 65.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/11.17, allocations: 6.531 kB / 3.667 GB, free: 65.62 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03726/11.21, allocations: 15.92 MB / 3.682 GB, free: 65.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002407/11.21, allocations: 46.34 kB / 3.682 GB, free: 65.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06001/11.27, allocations: 10.61 MB / 3.692 GB, free: 64.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008791/11.28, allocations: 1.596 MB / 3.694 GB, free: 64.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/11.29, allocations: 10.22 MB / 3.704 GB, free: 59.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01326/11.31, allocations: 0.5509 MB / 3.705 GB, free: 59.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003373/11.31, allocations: 0.5368 MB / 3.705 GB, free: 59.65 MB / 0.7292 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.01086/11.32, allocations: 2.639 MB / 3.708 GB, free: 59.45 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004983/11.33, allocations: 0.7569 MB / 3.708 GB, free: 59.06 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03146/11.36, allocations: 13.65 MB / 3.722 GB, free: 58.57 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.665e-05/11.36, allocations: 32.34 kB / 3.722 GB, free: 58.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/11.36, allocations: 0 / 3.722 GB, free: 58.57 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01629/11.37, allocations: 10.26 MB / 3.732 GB, free: 54.57 MB / 0.7292 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.04504/11.42, allocations: 23.82 MB / 3.755 GB, free: 43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/11.42, allocations: 0 / 3.755 GB, free: 43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004378/11.42, allocations: 0.7014 MB / 3.756 GB, free: 42.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05857/11.48, allocations: 9.937 MB / 3.765 GB, free: 42.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001352/11.48, allocations: 108.9 kB / 3.766 GB, free: 41.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004555/11.49, allocations: 4.317 MB / 3.77 GB, free: 38.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/11.49, allocations: 0 / 3.77 GB, free: 38.62 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02865/11.52, allocations: 18.43 MB / 3.788 GB, free: 22.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007099/11.52, allocations: 1.896 MB / 3.79 GB, free: 21.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003135/11.53, allocations: 78.33 kB / 3.79 GB, free: 21.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008478/11.54, allocations: 397.8 kB / 3.79 GB, free: 20.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001348/11.54, allocations: 227.4 kB / 3.79 GB, free: 20.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001173/11.54, allocations: 165.4 kB / 3.79 GB, free: 20.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.01415/11.55, allocations: 5.332 MB / 3.796 GB, free: 16.32 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.82e-07/11.55, allocations: 0 / 3.796 GB, free: 16.32 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.02761/11.58, allocations: 4.873 MB / 3.8 GB, free: 11.71 MB / 0.7292 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.004165/11.59, allocations: 1.257 MB / 3.802 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.04213/11.63, allocations: 23.62 MB / 3.825 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/11.63, allocations: 4.938 kB / 3.825 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.01051/11.64, allocations: 6.199 MB / 3.831 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5346/12.17, allocations: 4.888 MB / 3.836 GB, free: 87.29 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04301/12.22, allocations: 22.28 MB / 3.857 GB, free: 80.62 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006081/12.22, allocations: 5.206 MB / 3.862 GB, free: 79.76 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.02414/12.25, allocations: 4.998 MB / 3.867 GB, free: 79.52 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007083/12.25, allocations: 0.9052 MB / 3.868 GB, free: 79.52 MB / 0.7448 GB Notification: Performance of SimCode: time 1.523e-06/12.25, allocations: 4 kB / 3.868 GB, free: 79.52 MB / 0.7448 GB Notification: Performance of Templates: time 0.3456/12.6, allocations: 219.3 MB / 4.082 GB, free: 7.223 MB / 0.7605 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe 2>&1)