Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.78/1.78, allocations: 288.4 MB / 303.4 MB, free: 8.105 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.001241/0.001241, allocations: 188.4 kB / 372 MB, free: 10.26 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.403/1.403, allocations: 205.4 MB / 0.6307 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007517/0.0007516, allocations: 88.81 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003577, allocations: 14.69 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1929, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02403/0.217, allocations: 30.15 MB / 1.009 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01731/0.2343, allocations: 12.26 MB / 1.021 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.2363, allocations: 39.69 kB / 1.021 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001918/0.2382, allocations: 0.4893 MB / 1.022 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003721/0.242, allocations: 1.285 MB / 1.023 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003161/0.2452, allocations: 1.062 MB / 1.024 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.006145/0.2513, allocations: 5.495 MB / 1.029 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002699/0.254, allocations: 1.599 MB / 1.031 GB, free: 7.164 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003194/0.2573, allocations: 1.544 MB / 1.032 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.2596, allocations: 1.295 MB / 1.033 GB, free: 4.312 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004835/0.2601, allocations: 68 kB / 1.034 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.2627, allocations: 0.8854 MB / 1.034 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0006772/0.2634, allocations: 390.2 kB / 1.035 GB, free: 2.977 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0009333/0.2643, allocations: 404.7 kB / 1.035 GB, free: 2.574 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002981/0.2673, allocations: 2.163 MB / 1.037 GB, free: 416 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2674, allocations: 0 / 1.037 GB, free: 416 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2674, allocations: 0 / 1.037 GB, free: 416 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.985e-05/0.2675, allocations: 0 / 1.037 GB, free: 416 kB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.00449/0.272, allocations: 2.096 MB / 1.039 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.272, allocations: 8.031 kB / 1.039 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.2735, allocations: 309.4 kB / 1.04 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003331/0.2768, allocations: 1.571 MB / 1.041 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.2769, allocations: 85.98 kB / 1.041 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002306/0.2772, allocations: 108 kB / 1.041 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/0.2797, allocations: 1.322 MB / 1.043 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.2797, allocations: 7.938 kB / 1.043 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.2798, allocations: 36 kB / 1.043 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.2799, allocations: 24 kB / 1.043 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.2821, allocations: 1.061 MB / 1.044 GB, free: 9.594 MB / 0.6667 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.008633/0.2907, allocations: 6.992 MB / 1.051 GB, free: 2.109 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.2923, allocations: 0.674 MB / 1.051 GB, free: 1.43 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008128/0.2931, allocations: 430.4 kB / 1.052 GB, free: 1.004 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002988/0.2961, allocations: 1.827 MB / 1.053 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008594/0.297, allocations: 412.8 kB / 1.054 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006321/0.2976, allocations: 111.2 kB / 1.054 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 4.488e-06/0.2976, allocations: 0 / 1.054 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.004403/0.302, allocations: 1.543 MB / 1.055 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.3021, allocations: 55.41 kB / 1.056 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00273/0.3048, allocations: 1.839 MB / 1.057 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.774e-05/0.3049, allocations: 45.7 kB / 1.057 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00077/0.3057, allocations: 0.8541 MB / 1.058 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.3059, allocations: 161.7 kB / 1.058 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.306, allocations: 16 kB / 1.058 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.3061, allocations: 341.9 kB / 1.059 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000725/0.3068, allocations: 313.8 kB / 1.059 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.3079, allocations: 0.78 MB / 1.06 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008974/0.3088, allocations: 454.3 kB / 1.06 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.3088, allocations: 7.953 kB / 1.06 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003085/0.3119, allocations: 1.347 MB / 1.061 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003165/0.3123, allocations: 424 kB / 1.062 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.3123, allocations: 19.92 kB / 1.062 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008719/0.3132, allocations: 220.6 kB / 1.062 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/0.3139, allocations: 175.7 kB / 1.062 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008263/0.3147, allocations: 0.8448 MB / 1.063 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.3161, allocations: 124.4 kB / 1.063 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.41e-05/0.3163, allocations: 47.98 kB / 1.063 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.3163, allocations: 5.406 kB / 1.063 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001892/0.3182, allocations: 1.031 MB / 1.064 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.3182, allocations: 8 kB / 1.064 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003951/0.3186, allocations: 171.5 kB / 1.064 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.3192, allocations: 163.7 kB / 1.065 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/0.3219, allocations: 2.344 MB / 1.067 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.3232, allocations: 112.5 kB / 1.067 GB, free: 464 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.027e-05/0.3233, allocations: 43.98 kB / 1.067 GB, free: 420 kB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.378/0.7013, allocations: 0.5771 MB / 1.068 GB, free: 87.01 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005214/0.7019, allocations: 170.9 kB / 1.068 GB, free: 87.01 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00319/0.7051, allocations: 1.075 MB / 1.069 GB, free: 86.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.7051, allocations: 8.953 kB / 1.069 GB, free: 86.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7051, allocations: 1.062 kB / 1.069 GB, free: 86.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00177/0.7069, allocations: 1.025 MB / 1.07 GB, free: 86.56 MB / 0.6823 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.004818/0.7117, allocations: 2.328 MB / 1.072 GB, free: 85.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.7117, allocations: 2.75 kB / 1.072 GB, free: 85.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004883/0.7122, allocations: 91.8 kB / 1.072 GB, free: 85.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003472/0.7126, allocations: 144 kB / 1.072 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/0.7127, allocations: 16.06 kB / 1.072 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000633/0.7133, allocations: 0.8107 MB / 1.073 GB, free: 84.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.7133, allocations: 3.469 kB / 1.073 GB, free: 84.89 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003005/0.7163, allocations: 1.476 MB / 1.075 GB, free: 84.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007517/0.7171, allocations: 339.8 kB / 1.075 GB, free: 84.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003323/0.7174, allocations: 12.25 kB / 1.075 GB, free: 84.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.7186, allocations: 103 kB / 1.075 GB, free: 84.08 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.7187, allocations: 37.62 kB / 1.075 GB, free: 84.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.48e-05/0.7188, allocations: 22.36 kB / 1.075 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002343/0.7211, allocations: 1.275 MB / 1.076 GB, free: 83.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7212, allocations: 1 kB / 1.076 GB, free: 83.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002856/0.724, allocations: 0.8431 MB / 1.077 GB, free: 83.52 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.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 (40): * Single equations (assignments): 34 * 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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.000905/0.7249, allocations: 368.3 kB / 1.078 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003221/0.7282, allocations: 1.53 MB / 1.079 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7282, allocations: 4.594 kB / 1.079 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008606/0.729, allocations: 364.9 kB / 1.079 GB, free: 82.67 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004206/0.7333, allocations: 0.8527 MB / 1.08 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005437/0.7387, allocations: 3.46 MB / 1.084 GB, free: 80.78 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/0.74, allocations: 1.493 MB / 1.085 GB, free: 79.97 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001931/0.742, allocations: 436.3 kB / 1.085 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/0.7424, allocations: 127.3 kB / 1.086 GB, free: 79.88 MB / 0.6823 GB Notification: Performance of SimCode: time 7.31e-07/0.7424, allocations: 1.219 kB / 1.086 GB, free: 79.88 MB / 0.6823 GB Notification: Performance of Templates: time 0.0584/0.8008, allocations: 32.14 MB / 1.117 GB, free: 66.15 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)