Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.544/2.544, allocations: 287.5 MB / 302.4 MB, free: 8.348 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.001444/0.001444, allocations: 188.4 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0008673/0.0008672, allocations: 93.28 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004706, allocations: 11.45 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2019, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03139/0.2334, allocations: 27.26 MB / 1.005 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02479/0.2582, allocations: 11.73 MB / 1.016 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.2599, allocations: 39.75 kB / 1.016 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002329/0.2623, allocations: 465.2 kB / 1.017 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004903/0.2673, allocations: 1.183 MB / 1.018 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004566/0.2718, allocations: 1.05 MB / 1.019 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00776/0.2796, allocations: 4.273 MB / 1.023 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002393/0.2821, allocations: 0.9883 MB / 1.024 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003592/0.2857, allocations: 1.21 MB / 1.025 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002536/0.2883, allocations: 0.9995 MB / 1.026 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000377/0.2887, allocations: 52 kB / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003284/0.292, allocations: 0.8542 MB / 1.027 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0007564/0.2928, allocations: 322.7 kB / 1.028 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007164/0.2935, allocations: 313 kB / 1.028 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003794/0.2973, allocations: 1.796 MB / 1.03 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.2974, allocations: 3.984 kB / 1.03 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.386e-06/0.2974, allocations: 0 / 1.03 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.276e-05/0.2975, allocations: 0 / 1.03 GB, free: 7.711 MB / 0.6511 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.004884/0.3024, allocations: 1.709 MB / 1.031 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3024, allocations: 12.03 kB / 1.031 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.3044, allocations: 257.8 kB / 1.032 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003875/0.3083, allocations: 1.265 MB / 1.033 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.3085, allocations: 66 kB / 1.033 GB, free: 4.293 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.3087, allocations: 91.94 kB / 1.033 GB, free: 4.203 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002983/0.3117, allocations: 1.031 MB / 1.034 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.3118, allocations: 0 / 1.034 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.3119, allocations: 32 kB / 1.034 GB, free: 3.09 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.3119, allocations: 20 kB / 1.034 GB, free: 3.07 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002966/0.3149, allocations: 0.7805 MB / 1.035 GB, free: 2.289 MB / 0.6511 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.01016/0.3251, allocations: 5.132 MB / 1.04 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/0.3277, allocations: 0.6584 MB / 1.04 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.329, allocations: 352.7 kB / 1.041 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004099/0.3332, allocations: 1.693 MB / 1.042 GB, free: 9.949 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001444/0.3347, allocations: 375 kB / 1.043 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008944/0.3356, allocations: 103.5 kB / 1.043 GB, free: 9.469 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=44): time 4.789e-06/0.3356, allocations: 0 / 1.043 GB, free: 9.469 MB / 0.6667 GB Notification: Performance of matching and sorting (n=44): time 0.007039/0.3427, allocations: 1.376 MB / 1.044 GB, free: 8.062 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/0.3428, allocations: 63.41 kB / 1.044 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002625/0.3454, allocations: 1.313 MB / 1.046 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.3456, allocations: 37.7 kB / 1.046 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008264/0.3464, allocations: 0.6372 MB / 1.046 GB, free: 5.973 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.3466, allocations: 149.8 kB / 1.046 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/0.3467, allocations: 19.94 kB / 1.046 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.3469, allocations: 334 kB / 1.047 GB, free: 5.473 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.3481, allocations: 269.8 kB / 1.047 GB, free: 5.211 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.3496, allocations: 0.6246 MB / 1.048 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.3509, allocations: 382.2 kB / 1.048 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.3509, allocations: 0 / 1.048 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004366/0.3553, allocations: 1.145 MB / 1.049 GB, free: 2.883 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003005/0.3556, allocations: 355 kB / 1.049 GB, free: 2.422 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.3557, allocations: 12 kB / 1.049 GB, free: 2.41 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.357, allocations: 224.6 kB / 1.05 GB, free: 2.188 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.3581, allocations: 147.8 kB / 1.05 GB, free: 2.043 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.3597, allocations: 0.8682 MB / 1.051 GB, free: 1.148 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.3614, allocations: 92.55 kB / 1.051 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.3616, allocations: 43.98 kB / 1.051 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.3616, allocations: 6.188 kB / 1.051 GB, free: 1.008 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002697/0.3643, allocations: 0.8639 MB / 1.052 GB, free: 140 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.3643, allocations: 16.03 kB / 1.052 GB, free: 124 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00064/0.365, allocations: 144.7 kB / 1.052 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008698/0.3659, allocations: 131.8 kB / 1.052 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003967/0.3698, allocations: 2.342 MB / 1.054 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.3714, allocations: 84.5 kB / 1.054 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.3715, allocations: 35.98 kB / 1.054 GB, free: 13.24 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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.0009996/0.3725, allocations: 480.7 kB / 1.055 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/0.3728, allocations: 126.4 kB / 1.055 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003461/0.3763, allocations: 0.9545 MB / 1.056 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.3763, allocations: 7.984 kB / 1.056 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.3763, allocations: 0 / 1.056 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002735/0.3791, allocations: 0.9429 MB / 1.057 GB, free: 10.64 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.005565/0.3847, allocations: 1.998 MB / 1.059 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.3847, allocations: 7.938 kB / 1.059 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000781/0.3855, allocations: 87.94 kB / 1.059 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005552/0.3861, allocations: 144.7 kB / 1.059 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/0.3861, allocations: 15.94 kB / 1.059 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.3873, allocations: 0.8252 MB / 1.06 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3873, allocations: 0 / 1.06 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004302/0.3916, allocations: 1.295 MB / 1.061 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007192/0.3924, allocations: 287.3 kB / 1.061 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/0.3926, allocations: 16 kB / 1.061 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.3939, allocations: 75.98 kB / 1.061 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.3941, allocations: 40.38 kB / 1.061 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.053e-05/0.3942, allocations: 23.98 kB / 1.061 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001958/0.3961, allocations: 0.901 MB / 1.062 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3962, allocations: 0 / 1.062 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002713/0.3989, allocations: 0.6784 MB / 1.063 GB, free: 4.094 MB / 0.6823 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * 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.00112/0.4, allocations: 356.6 kB / 1.063 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005052/0.4051, allocations: 1.425 MB / 1.065 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.4051, allocations: 3.938 kB / 1.065 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001477/0.4066, allocations: 362.5 kB / 1.065 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004618/0.4112, allocations: 0.582 MB / 1.066 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.599/1.01, allocations: 2.699 MB / 1.068 GB, free: 86.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/1.012, allocations: 1.27 MB / 1.069 GB, free: 85.89 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002038/1.014, allocations: 300 kB / 1.07 GB, free: 85.87 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/1.014, allocations: 102.1 kB / 1.07 GB, free: 85.87 MB / 0.6823 GB Notification: Performance of SimCode: time 1.212e-06/1.014, allocations: 0 / 1.07 GB, free: 85.87 MB / 0.6823 GB Notification: Performance of Templates: time 0.07242/1.087, allocations: 25.18 MB / 1.094 GB, free: 79.27 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)