Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.657/1.657, allocations: 289.7 MB / 302.2 MB, free: 2.219 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.001369/0.001369, allocations: 178.5 kB / 371.6 MB, free: 3.398 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.486/1.486, allocations: 205.2 MB / 0.6309 GB, free: 11.79 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.0008399/0.0008403, allocations: 91.48 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.699e-05/3.716e-05, allocations: 4 kB / 0.8662 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2846, allocations: 116.3 MB / 0.9798 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.411, allocations: 405.2 MB / 1.376 GB, free: 7.031 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/1.412, allocations: 89.19 kB / 1.376 GB, free: 6.988 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.279/3.69, allocations: 478.3 MB / 1.843 GB, free: 199.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.753e-06/3.69, allocations: 0 / 1.843 GB, free: 199.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001601/3.691, allocations: 39.25 kB / 1.843 GB, free: 199.6 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.00329/3.694, allocations: 1.516 MB / 1.844 GB, free: 198.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/3.694, allocations: 9.156 kB / 1.844 GB, free: 198.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/3.695, allocations: 237.1 kB / 1.844 GB, free: 198.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004732/3.7, allocations: 1.93 MB / 1.846 GB, free: 198.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.296e-05/3.7, allocations: 71.39 kB / 1.846 GB, free: 198.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/3.7, allocations: 87.27 kB / 1.846 GB, free: 198.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/3.702, allocations: 0.9177 MB / 1.847 GB, free: 198.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/3.702, allocations: 3.156 kB / 1.847 GB, free: 198.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8e-05/3.702, allocations: 31.22 kB / 1.847 GB, free: 198.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/3.702, allocations: 17.97 kB / 1.847 GB, free: 198.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/3.703, allocations: 0.6411 MB / 1.848 GB, free: 198.3 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.006445/3.709, allocations: 4.603 MB / 1.853 GB, free: 195.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/3.71, allocations: 0.5313 MB / 1.853 GB, free: 195.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000508/3.711, allocations: 294.7 kB / 1.853 GB, free: 195.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003207/3.714, allocations: 1.709 MB / 1.855 GB, free: 195 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005592/3.715, allocations: 309.8 kB / 1.855 GB, free: 194.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006387/3.715, allocations: 106.8 kB / 1.855 GB, free: 194.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=46): time 2.916e-06/3.715, allocations: 0.875 kB / 1.855 GB, free: 194.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=46): time 0.001273/3.717, allocations: 0.6482 MB / 1.856 GB, free: 194.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/3.717, allocations: 59.81 kB / 1.856 GB, free: 194.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/3.718, allocations: 1.11 MB / 1.857 GB, free: 194.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.854e-05/3.718, allocations: 44.95 kB / 1.857 GB, free: 194.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005477/3.719, allocations: 0.6461 MB / 1.858 GB, free: 194.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/3.719, allocations: 157.4 kB / 1.858 GB, free: 194.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/3.719, allocations: 14.16 kB / 1.858 GB, free: 194.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.039e-05/3.719, allocations: 333.5 kB / 1.858 GB, free: 193.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/3.72, allocations: 203.1 kB / 1.859 GB, free: 193.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/3.72, allocations: 0.5396 MB / 1.859 GB, free: 193.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005123/3.721, allocations: 318.8 kB / 1.859 GB, free: 193.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/3.721, allocations: 3.094 kB / 1.859 GB, free: 193.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001641/3.722, allocations: 0.9423 MB / 1.86 GB, free: 193.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006996/3.723, allocations: 3.05 MB / 1.863 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/3.723, allocations: 7.531 kB / 1.863 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004263/3.723, allocations: 137.2 kB / 1.863 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006103/3.724, allocations: 150.3 kB / 1.864 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007889/3.725, allocations: 0.7624 MB / 1.864 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/3.726, allocations: 82.22 kB / 1.864 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.662e-05/3.726, allocations: 38.39 kB / 1.864 GB, free: 189.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/3.726, allocations: 8.281 kB / 1.864 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001515/3.728, allocations: 0.8579 MB / 1.865 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/3.728, allocations: 8.719 kB / 1.865 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/3.728, allocations: 107.8 kB / 1.865 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/3.728, allocations: 141.8 kB / 1.865 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/3.73, allocations: 2.199 MB / 1.868 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/3.732, allocations: 80.27 kB / 1.868 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.184e-05/3.732, allocations: 38.58 kB / 1.868 GB, free: 188 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.0002766/3.732, allocations: 159.2 kB / 1.868 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/3.732, allocations: 127 kB / 1.868 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/3.734, allocations: 0.8188 MB / 1.869 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/3.734, allocations: 8.938 kB / 1.869 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/3.734, allocations: 0 / 1.869 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001055/3.735, allocations: 0.8179 MB / 1.87 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/3.739, allocations: 1.814 MB / 1.871 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/3.739, allocations: 7.531 kB / 1.871 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/3.739, allocations: 89.02 kB / 1.871 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000309/3.739, allocations: 125.2 kB / 1.872 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/3.739, allocations: 15.97 kB / 1.872 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006176/3.74, allocations: 0.749 MB / 1.872 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/3.74, allocations: 3.312 kB / 1.872 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/3.742, allocations: 1.144 MB / 1.873 GB, free: 186.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006332/3.743, allocations: 264.1 kB / 1.874 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/3.743, allocations: 12.05 kB / 1.874 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006396/3.743, allocations: 76.62 kB / 1.874 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/3.743, allocations: 40.31 kB / 1.874 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.635e-05/3.743, allocations: 20.48 kB / 1.874 GB, free: 185.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001433/3.745, allocations: 0.868 MB / 1.875 GB, free: 185.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/3.745, allocations: 0 / 1.875 GB, free: 185.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003105/3.748, allocations: 0.7175 MB / 1.875 GB, free: 185.7 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.001882/3.75, allocations: 0.7586 MB / 1.876 GB, free: 185.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002649/3.753, allocations: 1.263 MB / 1.877 GB, free: 185.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/3.753, allocations: 1.094 kB / 1.877 GB, free: 185.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005922/3.753, allocations: 305 kB / 1.878 GB, free: 185.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/3.756, allocations: 0.5691 MB / 1.878 GB, free: 185.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/3.759, allocations: 1.692 MB / 1.88 GB, free: 184.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000849/3.76, allocations: 1.298 MB / 1.881 GB, free: 184 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002223/3.762, allocations: 0.5597 MB / 1.882 GB, free: 183.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/3.762, allocations: 81.44 kB / 1.882 GB, free: 183.9 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/3.762, allocations: 0 / 1.882 GB, free: 183.9 MB / 0.948 GB Notification: Performance of Templates: time 0.05444/3.817, allocations: 31.16 MB / 1.912 GB, free: 182.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)