Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.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.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.714/2.714, allocations: 287.5 MB / 302.4 MB, free: 8.312 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.002209/0.00221, allocations: 186.1 kB / 371 MB, free: 10.85 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.154/2.154, 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.0009863/0.0009861, allocations: 91.05 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004716, allocations: 11.81 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2048, allocations: 115.3 MB / 0.9783 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.1048/0.3097, allocations: 74.49 MB / 1.051 GB, free: 1.676 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.6801/0.9898, allocations: 20.98 MB / 1.072 GB, free: 18.01 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004114/0.994, allocations: 93.78 kB / 1.072 GB, free: 18.01 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004124/0.9981, allocations: 0.7793 MB / 1.072 GB, free: 18 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.009746/1.008, allocations: 2.261 MB / 1.075 GB, free: 17.94 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008031/1.016, allocations: 1.799 MB / 1.076 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.05042/1.066, allocations: 30.13 MB / 1.106 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02814/1.095, allocations: 13.45 MB / 1.119 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.023/1.118, allocations: 9.167 MB / 1.128 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02798/1.146, allocations: 10.74 MB / 1.138 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.006013/1.152, allocations: 0.8142 MB / 1.139 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01374/1.166, allocations: 1.782 MB / 1.141 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.007676/1.173, allocations: 2.968 MB / 1.144 GB, free: 3.098 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.006234/1.18, allocations: 1.828 MB / 1.146 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.02451/1.204, allocations: 13.9 MB / 1.159 GB, free: 5.812 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.204, allocations: 3.938 kB / 1.159 GB, free: 5.809 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.645e-06/1.204, allocations: 0 / 1.159 GB, free: 5.809 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004851/1.205, allocations: 0 / 1.159 GB, free: 5.809 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.05626/1.261, allocations: 13.07 MB / 1.172 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.261, allocations: 8.031 kB / 1.172 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01059/1.272, allocations: 1.274 MB / 1.173 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03252/1.304, allocations: 9.623 MB / 1.183 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007112/1.305, allocations: 439 kB / 1.183 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004173/1.309, allocations: 0.578 MB / 1.184 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04754/1.357, allocations: 14.68 MB / 1.198 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003213/1.357, allocations: 23.84 kB / 1.198 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003938/1.361, allocations: 239.8 kB / 1.198 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001789/1.361, allocations: 140 kB / 1.198 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05375/1.415, allocations: 19.89 MB / 1.218 GB, free: 11.12 MB / 0.7605 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.1962/1.611, allocations: 66.61 MB / 1.283 GB, free: 7.516 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03715/1.648, allocations: 9.329 MB / 1.292 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03263/1.681, allocations: 8.67 MB / 1.3 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1222/1.803, allocations: 30.99 MB / 1.331 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02025/1.824, allocations: 7.752 MB / 1.338 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05658/1.88, allocations: 11.76 MB / 1.35 GB, free: 2.816 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=300): time 2.624e-05/1.88, allocations: 0 / 1.35 GB, free: 2.816 MB / 0.8855 GB Notification: Performance of matching and sorting (n=300): time 0.09664/1.977, allocations: 24.45 MB / 1.374 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.27e-05/1.977, allocations: 81.77 kB / 1.374 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02063/1.998, allocations: 8.104 MB / 1.382 GB, free: 2.055 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002419/2, allocations: 97.7 kB / 1.382 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.006924/2.007, allocations: 4.02 MB / 1.386 GB, free: 13.99 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.003903/2.011, allocations: 1.078 MB / 1.387 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002357/2.014, allocations: 95.52 kB / 1.387 GB, free: 12.83 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0005457/2.014, allocations: 495.8 kB / 1.387 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01802/2.032, allocations: 6.543 MB / 1.394 GB, free: 5.781 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0203/2.053, allocations: 8.401 MB / 1.402 GB, free: 12.54 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02056/2.073, allocations: 7.438 MB / 1.409 GB, free: 5.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.574e-05/2.073, allocations: 16 kB / 1.409 GB, free: 5.074 MB / 0.948 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.063/2.136, allocations: 17.8 MB / 1.426 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001567/2.138, allocations: 1.554 MB / 1.428 GB, free: 1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.604e-05/2.138, allocations: 48 kB / 1.428 GB, free: 0.9531 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475/3.613, allocations: 11.5 MB / 1.439 GB, free: 337.7 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01663/3.63, allocations: 1.569 MB / 1.441 GB, free: 337.7 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/3.647, allocations: 6.803 MB / 1.447 GB, free: 334.8 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01915/3.666, allocations: 0.5966 MB / 1.448 GB, free: 334.7 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003659/3.67, allocations: 0.5404 MB / 1.449 GB, free: 334.7 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/3.67, allocations: 3.969 kB / 1.449 GB, free: 334.7 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05506/3.725, allocations: 16.74 MB / 1.465 GB, free: 329.3 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001545/3.725, allocations: 48.88 kB / 1.465 GB, free: 329.3 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1291/3.854, allocations: 11.04 MB / 1.476 GB, free: 327.7 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01561/3.87, allocations: 1.552 MB / 1.477 GB, free: 327 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0224/3.892, allocations: 11.03 MB / 1.488 GB, free: 318.8 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01808/3.911, allocations: 0.5713 MB / 1.489 GB, free: 318.6 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003269/3.914, allocations: 0.5341 MB / 1.489 GB, free: 318.3 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 521 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.009858/3.924, allocations: 2.63 MB / 1.492 GB, free: 316.8 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004664/3.928, allocations: 0.7509 MB / 1.492 GB, free: 316.8 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04801/3.976, allocations: 14.35 MB / 1.506 GB, free: 305.6 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.762e-05/3.977, allocations: 35.98 kB / 1.506 GB, free: 305.5 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/3.977, allocations: 0 / 1.506 GB, free: 305.5 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02886/4.005, allocations: 10.93 MB / 1.517 GB, free: 294.5 MB / 0.9637 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.06047/4.066, allocations: 24.89 MB / 1.541 GB, free: 269.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.46e-05/4.066, allocations: 0.8438 kB / 1.541 GB, free: 269.6 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009771/4.076, allocations: 0.7036 MB / 1.542 GB, free: 268.9 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1227/4.199, allocations: 10.34 MB / 1.552 GB, free: 258.6 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001492/4.2, allocations: 103.9 kB / 1.552 GB, free: 258.5 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00798/4.208, allocations: 4.938 MB / 1.557 GB, free: 253.4 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/4.208, allocations: 3.938 kB / 1.557 GB, free: 253.4 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04697/4.255, allocations: 19.54 MB / 1.576 GB, free: 233.8 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007606/4.263, allocations: 2.003 MB / 1.578 GB, free: 231.8 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00358/4.266, allocations: 71.98 kB / 1.578 GB, free: 231.7 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01286/4.279, allocations: 448 kB / 1.579 GB, free: 231.3 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001882/4.281, allocations: 222.4 kB / 1.579 GB, free: 231.1 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001698/4.283, allocations: 155.9 kB / 1.579 GB, free: 230.9 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.01271/4.296, allocations: 5.57 MB / 1.584 GB, free: 225.4 MB / 0.9637 GB Notification: Performance of sort global known variables: time 9.22e-07/4.296, allocations: 0 / 1.584 GB, free: 225.4 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.0244/4.32, allocations: 4.975 MB / 1.589 GB, free: 220.6 MB / 0.9637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].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 (304): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.002953/4.323, allocations: 0.5619 MB / 1.59 GB, free: 220.1 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.05874/4.382, allocations: 24.2 MB / 1.613 GB, free: 195.8 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/4.382, allocations: 4 kB / 1.613 GB, free: 195.8 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.01524/4.397, allocations: 6.463 MB / 1.62 GB, free: 189.4 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04243/4.44, allocations: 5.051 MB / 1.625 GB, free: 184.4 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04799/4.488, allocations: 23.12 MB / 1.647 GB, free: 161.2 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007825/4.496, allocations: 5.198 MB / 1.652 GB, free: 156 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.03025/4.526, allocations: 4.969 MB / 1.657 GB, free: 151 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008927/4.535, allocations: 0.9164 MB / 1.658 GB, free: 150.1 MB / 0.9637 GB Notification: Performance of SimCode: time 1.363e-06/4.535, allocations: 3.938 kB / 1.658 GB, free: 150.1 MB / 0.9637 GB Notification: Performance of Templates: time 1.118/5.653, allocations: 219.4 MB / 1.872 GB, free: 271.4 MB / 0.9637 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)