Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.57/1.57, allocations: 285.4 MB / 298 MB, free: 5.988 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.001039/0.001039, allocations: 184.8 kB / 366.4 MB, free: 2.062 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.545/1.545, allocations: 205.1 MB / 0.6248 GB, free: 7.719 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.0008404/0.0008404, allocations: 97.88 kB / 0.738 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.208e-05/4.244e-05, allocations: 4 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7047/0.7047, allocations: 115.3 MB / 0.9709 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.75, allocations: 404.3 MB / 1.366 GB, free: 155.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/1.751, allocations: 95.19 kB / 1.366 GB, free: 155 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.677/3.428, allocations: 478.3 MB / 1.833 GB, free: 161.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.134e-06/3.428, allocations: 0 / 1.833 GB, free: 161.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002921/3.428, allocations: 42.05 kB / 1.833 GB, free: 161.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004386/3.433, allocations: 1.512 MB / 1.834 GB, free: 159.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/3.433, allocations: 16.02 kB / 1.834 GB, free: 159.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/3.434, allocations: 233.9 kB / 1.835 GB, free: 159.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005525/3.44, allocations: 1.935 MB / 1.836 GB, free: 157.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.614e-05/3.44, allocations: 62 kB / 1.837 GB, free: 157.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002705/3.44, allocations: 91.94 kB / 1.837 GB, free: 157.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/3.442, allocations: 0.9179 MB / 1.838 GB, free: 156.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/3.442, allocations: 3.938 kB / 1.838 GB, free: 156.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/3.442, allocations: 35.98 kB / 1.838 GB, free: 156.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/3.442, allocations: 23.98 kB / 1.838 GB, free: 156.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/3.444, allocations: 0.6402 MB / 1.838 GB, free: 155.6 MB / 0.948 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.00576/3.449, allocations: 4.591 MB / 1.843 GB, free: 150.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008473/3.45, allocations: 0.5335 MB / 1.843 GB, free: 150.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004448/3.451, allocations: 291.3 kB / 1.843 GB, free: 149.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002774/3.453, allocations: 1.708 MB / 1.845 GB, free: 148.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004785/3.454, allocations: 313.4 kB / 1.845 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005193/3.454, allocations: 115.3 kB / 1.846 GB, free: 147.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=46): time 4.057e-06/3.454, allocations: 8 kB / 1.846 GB, free: 147.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=46): time 0.001235/3.456, allocations: 0.6443 MB / 1.846 GB, free: 147 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/3.456, allocations: 59.41 kB / 1.846 GB, free: 146.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/3.457, allocations: 1.105 MB / 1.847 GB, free: 145.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/3.457, allocations: 37.7 kB / 1.847 GB, free: 145.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004764/3.458, allocations: 0.6483 MB / 1.848 GB, free: 145.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/3.458, allocations: 157.5 kB / 1.848 GB, free: 144.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/3.458, allocations: 16 kB / 1.848 GB, free: 144.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.917e-05/3.458, allocations: 334 kB / 1.848 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/3.458, allocations: 201.5 kB / 1.849 GB, free: 144.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004837/3.459, allocations: 0.5414 MB / 1.849 GB, free: 143.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/3.459, allocations: 317.2 kB / 1.85 GB, free: 143.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/3.459, allocations: 0 / 1.85 GB, free: 143.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001443/3.461, allocations: 0.9478 MB / 1.85 GB, free: 142.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008146/3.461, allocations: 3.051 MB / 1.853 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/3.461, allocations: 8 kB / 1.853 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003772/3.462, allocations: 138.8 kB / 1.854 GB, free: 139 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/3.462, allocations: 151.7 kB / 1.854 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006709/3.463, allocations: 0.7637 MB / 1.854 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/3.464, allocations: 79.98 kB / 1.855 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.011e-05/3.464, allocations: 43.98 kB / 1.855 GB, free: 138 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/3.464, allocations: 4 kB / 1.855 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001246/3.466, allocations: 0.8582 MB / 1.855 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/3.466, allocations: 11.94 kB / 1.855 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/3.466, allocations: 108.7 kB / 1.856 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/3.466, allocations: 144.2 kB / 1.856 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/3.468, allocations: 2.191 MB / 1.858 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000872/3.469, allocations: 75.91 kB / 1.858 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.334e-05/3.469, allocations: 36 kB / 1.858 GB, free: 134.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002456/3.469, allocations: 156.7 kB / 1.858 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/3.469, allocations: 134.3 kB / 1.858 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/3.471, allocations: 0.8188 MB / 1.859 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/3.471, allocations: 4 kB / 1.859 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/3.471, allocations: 7.953 kB / 1.859 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009592/3.472, allocations: 0.8276 MB / 1.86 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/3.475, allocations: 1.807 MB / 1.862 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/3.475, allocations: 4.062 kB / 1.862 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/3.475, allocations: 87.88 kB / 1.862 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002749/3.476, allocations: 120.6 kB / 1.862 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/3.476, allocations: 19.98 kB / 1.862 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000524/3.476, allocations: 0.7435 MB / 1.863 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/3.476, allocations: 0 / 1.863 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/3.477, allocations: 1.156 MB / 1.864 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004961/3.478, allocations: 263.4 kB / 1.864 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/3.478, allocations: 8 kB / 1.864 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006136/3.479, allocations: 75.84 kB / 1.864 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/3.479, allocations: 40.38 kB / 1.864 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/3.479, allocations: 19.98 kB / 1.864 GB, free: 127.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001158/3.48, allocations: 0.8681 MB / 1.865 GB, free: 127 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.01e-07/3.48, allocations: 0 / 1.865 GB, free: 127 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002675/3.483, allocations: 0.7137 MB / 1.866 GB, free: 126.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001541/3.484, allocations: 0.7713 MB / 1.866 GB, free: 125.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002035/3.486, allocations: 1.263 MB / 1.868 GB, free: 124.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/3.486, allocations: 0 / 1.868 GB, free: 124.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004697/3.487, allocations: 302.8 kB / 1.868 GB, free: 124 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/3.489, allocations: 0.5589 MB / 1.868 GB, free: 123.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/3.492, allocations: 1.687 MB / 1.87 GB, free: 121.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/3.493, allocations: 1.301 MB / 1.871 GB, free: 120.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001812/3.494, allocations: 0.557 MB / 1.872 GB, free: 119.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/3.495, allocations: 83.41 kB / 1.872 GB, free: 119.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.235e-06/3.495, allocations: 0 / 1.872 GB, free: 119.7 MB / 0.948 GB Notification: Performance of Templates: time 0.04661/3.541, allocations: 31.16 MB / 1.902 GB, free: 88.89 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)