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.636/2.636, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001475/0.001475, allocations: 191.9 kB / 370.8 MB, free: 10.84 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.958/1.958, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001065/0.001065, allocations: 89.88 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006262/0.0006263, allocations: 11.59 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2462, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03379/0.2801, allocations: 24.9 MB / 1.002 GB, free: 3.414 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02496/0.3051, allocations: 11.13 MB / 1.013 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.3067, allocations: 35.75 kB / 1.013 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002581/0.3093, allocations: 0.5677 MB / 1.014 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005595/0.3149, allocations: 1.337 MB / 1.015 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00981/0.3247, allocations: 2.256 MB / 1.017 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005582/0.3303, allocations: 2.195 MB / 1.02 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/0.3326, allocations: 0.9962 MB / 1.021 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002969/0.3356, allocations: 1.004 MB / 1.022 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.3374, allocations: 0.7039 MB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002493/0.3376, allocations: 52 kB / 1.022 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002618/0.3403, allocations: 0.7334 MB / 1.023 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005011/0.3408, allocations: 298.8 kB / 1.023 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0005407/0.3413, allocations: 313 kB / 1.024 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003273/0.3446, allocations: 1.738 MB / 1.025 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3447, allocations: 0 / 1.025 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3447, allocations: 3.938 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.443e-05/0.3447, allocations: 0 / 1.025 GB, free: 12.02 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.004638/0.3494, allocations: 1.695 MB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3494, allocations: 8.031 kB / 1.027 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/0.3513, allocations: 261.8 kB / 1.027 GB, free: 10 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003661/0.355, allocations: 1.258 MB / 1.028 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-05/0.3551, allocations: 62 kB / 1.028 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/0.3553, allocations: 88 kB / 1.029 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002973/0.3583, allocations: 1.008 MB / 1.03 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/0.3584, allocations: 7.922 kB / 1.03 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.3585, allocations: 32 kB / 1.03 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.3586, allocations: 20 kB / 1.03 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002909/0.3615, allocations: 0.7728 MB / 1.03 GB, free: 6.656 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.009831/0.3713, allocations: 5.007 MB / 1.035 GB, free: 1.324 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/0.3738, allocations: 0.6363 MB / 1.036 GB, free: 0.6797 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004596/0.3785, allocations: 1.886 MB / 1.038 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001337/0.3798, allocations: 363 kB / 1.038 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007022/0.3806, allocations: 103.4 kB / 1.038 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=44): time 3.877e-06/0.3806, allocations: 0 / 1.038 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=44): time 0.006982/0.3876, allocations: 1.348 MB / 1.039 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.3877, allocations: 59.41 kB / 1.04 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002819/0.3905, allocations: 1.332 MB / 1.041 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.3907, allocations: 37.7 kB / 1.041 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000866/0.3916, allocations: 0.6411 MB / 1.042 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.3919, allocations: 149.9 kB / 1.042 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.392, allocations: 16 kB / 1.042 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3922, allocations: 334 kB / 1.042 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.3933, allocations: 261.8 kB / 1.042 GB, free: 9.938 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.3949, allocations: 0.609 MB / 1.043 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.3963, allocations: 382.2 kB / 1.043 GB, free: 8.789 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.3963, allocations: 4 kB / 1.043 GB, free: 8.785 MB / 0.6667 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004532/0.4008, allocations: 1.133 MB / 1.044 GB, free: 7.633 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001464/0.4023, allocations: 3.13 MB / 1.047 GB, free: 4.305 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/0.4024, allocations: 8 kB / 1.047 GB, free: 4.297 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.4039, allocations: 228.5 kB / 1.048 GB, free: 4.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.4051, allocations: 151.8 kB / 1.048 GB, free: 3.922 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.4067, allocations: 0.8604 MB / 1.049 GB, free: 3.035 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.4086, allocations: 100.5 kB / 1.049 GB, free: 2.934 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.4088, allocations: 39.98 kB / 1.049 GB, free: 2.895 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4088, allocations: 6.344 kB / 1.049 GB, free: 2.891 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00289/0.4117, allocations: 0.8597 MB / 1.05 GB, free: 2.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.4118, allocations: 8 kB / 1.05 GB, free: 2.012 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006601/0.4125, allocations: 140.7 kB / 1.05 GB, free: 1.871 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009524/0.4134, allocations: 140.1 kB / 1.05 GB, free: 1.734 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004219/0.4177, allocations: 2.377 MB / 1.052 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.4193, allocations: 84.58 kB / 1.052 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.4195, allocations: 35.98 kB / 1.052 GB, free: 15.09 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.001008/0.4205, allocations: 480.8 kB / 1.053 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/0.4208, allocations: 126.5 kB / 1.053 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003559/0.4244, allocations: 0.9503 MB / 1.054 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/0.4244, allocations: 11.97 kB / 1.054 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4245, allocations: 7.938 kB / 1.054 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002869/0.4273, allocations: 0.9311 MB / 1.055 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005847/0.4332, allocations: 1.963 MB / 1.057 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.4333, allocations: 0 / 1.057 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008393/0.4341, allocations: 91.86 kB / 1.057 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005733/0.4347, allocations: 148.8 kB / 1.057 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.817e-05/0.4348, allocations: 15.94 kB / 1.057 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.436, allocations: 0.8098 MB / 1.058 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.436, allocations: 0 / 1.058 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004491/0.4405, allocations: 1.315 MB / 1.059 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008587/0.4414, allocations: 295.2 kB / 1.059 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/0.4417, allocations: 12 kB / 1.059 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/0.4431, allocations: 79.89 kB / 1.059 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.4433, allocations: 40.33 kB / 1.059 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.933e-05/0.4434, allocations: 31.92 kB / 1.059 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002033/0.4454, allocations: 0.9128 MB / 1.06 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4454, allocations: 0 / 1.06 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002985/0.4484, allocations: 0.6824 MB / 1.061 GB, free: 5.938 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.001226/0.4497, allocations: 374.8 kB / 1.061 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005218/0.4549, allocations: 1.398 MB / 1.063 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.455, allocations: 4.062 kB / 1.063 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.4565, allocations: 342.4 kB / 1.063 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004572/0.4611, allocations: 0.5812 MB / 1.064 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006486/0.4676, allocations: 2.72 MB / 1.066 GB, free: 480 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5874/1.055, allocations: 1.29 MB / 1.067 GB, free: 86.06 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002187/1.057, allocations: 307.1 kB / 1.068 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/1.058, allocations: 105.3 kB / 1.068 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of SimCode: time 1.022e-06/1.058, allocations: 3.969 kB / 1.068 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of Templates: time 0.0758/1.134, allocations: 25.44 MB / 1.093 GB, free: 79.65 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)