Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 176.3 kB / 327.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, allocations: 205.4 MB / 0.5783 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009093/0.0009093, allocations: 92.36 kB / 0.6829 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003298, allocations: 11.53 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2148, allocations: 106.3 MB / 0.9008 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.08368/0.2986, allocations: 74.49 MB / 0.9736 GB, free: 5.574 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.04103/0.3396, allocations: 21 MB / 0.9941 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005403/0.3451, allocations: 91.31 kB / 0.9942 GB, free: 472 kB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003435/0.3486, allocations: 0.7765 MB / 0.9949 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007555/0.3561, allocations: 2.272 MB / 0.9971 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005855/0.362, allocations: 1.788 MB / 0.9989 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02783/0.3899, allocations: 30.13 MB / 1.028 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02012/0.41, allocations: 13.45 MB / 1.041 GB, free: 15.88 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02127/0.4314, allocations: 9.161 MB / 1.05 GB, free: 6.688 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.8316/1.263, allocations: 10.74 MB / 1.061 GB, free: 27.14 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.005942/1.269, allocations: 0.816 MB / 1.062 GB, free: 27.14 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01048/1.28, allocations: 1.78 MB / 1.063 GB, free: 27.14 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.01076/1.29, allocations: 2.958 MB / 1.066 GB, free: 27.14 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.01146/1.302, allocations: 1.834 MB / 1.068 GB, free: 27.11 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02419/1.326, allocations: 13.9 MB / 1.082 GB, free: 26.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.326, allocations: 0.9062 kB / 1.082 GB, free: 26.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.495e-06/1.326, allocations: 0 / 1.082 GB, free: 26.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0007736/1.327, allocations: 0 / 1.082 GB, free: 26.73 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.03971/1.367, allocations: 13.07 MB / 1.094 GB, free: 22.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/1.367, allocations: 9.906 kB / 1.094 GB, free: 22.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/1.377, allocations: 1.274 MB / 1.096 GB, free: 22.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03515/1.412, allocations: 9.612 MB / 1.105 GB, free: 20.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008033/1.413, allocations: 443 kB / 1.105 GB, free: 20.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007319/1.42, allocations: 0.5863 MB / 1.106 GB, free: 20.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04006/1.46, allocations: 14.68 MB / 1.12 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003114/1.461, allocations: 27.16 kB / 1.12 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00506/1.466, allocations: 240.4 kB / 1.121 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/1.466, allocations: 137.9 kB / 1.121 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03873/1.505, allocations: 19.88 MB / 1.14 GB, free: 12.97 MB / 0.698 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.1334/1.638, allocations: 66.6 MB / 1.205 GB, free: 10.03 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01568/1.654, allocations: 9.33 MB / 1.214 GB, free: 1.129 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01439/1.668, allocations: 8.675 MB / 1.223 GB, free: 8.461 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06613/1.734, allocations: 30.98 MB / 1.253 GB, free: 9.211 MB / 0.7918 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01427/1.749, allocations: 7.748 MB / 1.261 GB, free: 1.422 MB / 0.7918 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03277/1.782, allocations: 11.76 MB / 1.272 GB, free: 5.781 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=300): time 3.302e-05/1.782, allocations: 2.516 kB / 1.272 GB, free: 5.781 MB / 0.8074 GB Notification: Performance of matching and sorting (n=300): time 0.06738/1.849, allocations: 24.43 MB / 1.296 GB, free: 13.25 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.824e-05/1.849, allocations: 85.77 kB / 1.296 GB, free: 13.15 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02231/1.871, allocations: 8.096 MB / 1.304 GB, free: 5.066 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 0.003131/1.875, allocations: 101.7 kB / 1.304 GB, free: 4.961 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.006775/1.881, allocations: 4.013 MB / 1.308 GB, free: 0.9414 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 0.004399/1.886, allocations: 1.081 MB / 1.309 GB, free: 15.86 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002994/1.889, allocations: 92 kB / 1.309 GB, free: 15.77 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 0.000605/1.89, allocations: 491.8 kB / 1.31 GB, free: 15.29 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01266/1.902, allocations: 6.543 MB / 1.316 GB, free: 8.73 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01341/1.916, allocations: 8.408 MB / 1.324 GB, free: 15.51 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01337/1.929, allocations: 7.432 MB / 1.331 GB, free: 8.109 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.887e-05/1.929, allocations: 12 kB / 1.331 GB, free: 8.098 MB / 0.8699 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.04193/1.971, allocations: 17.81 MB / 1.349 GB, free: 6.551 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001133/1.972, allocations: 1.555 MB / 1.35 GB, free: 4.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-05/1.972, allocations: 48 kB / 1.35 GB, free: 4.293 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07273/2.045, allocations: 11.5 MB / 1.362 GB, free: 8.832 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009033/2.054, allocations: 1.576 MB / 1.363 GB, free: 7.324 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009379/2.064, allocations: 6.801 MB / 1.37 GB, free: 348 kB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01257/2.076, allocations: 0.5931 MB / 1.37 GB, free: 15.75 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003231/2.08, allocations: 0.5407 MB / 1.371 GB, free: 15.21 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 4.314e-05/2.08, allocations: 15.36 kB / 1.371 GB, free: 15.2 MB / 0.9168 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03716/2.117, allocations: 16.73 MB / 1.387 GB, free: 14.73 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001695/2.117, allocations: 48 kB / 1.387 GB, free: 14.69 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06854/2.186, allocations: 11.03 MB / 1.398 GB, free: 3.688 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009291/2.195, allocations: 1.555 MB / 1.4 GB, free: 2.199 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4962/2.691, allocations: 11 MB / 1.41 GB, free: 350.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01246/2.704, allocations: 0.5686 MB / 1.411 GB, free: 350.6 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00312/2.707, allocations: 0.5388 MB / 1.411 GB, free: 350.6 MB / 0.9324 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.009439/2.716, allocations: 2.63 MB / 1.414 GB, free: 350.4 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003564/2.72, allocations: 0.7526 MB / 1.415 GB, free: 350.4 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03218/2.752, allocations: 14.35 MB / 1.429 GB, free: 346.2 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.281e-05/2.752, allocations: 34.83 kB / 1.429 GB, free: 346.2 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/2.752, allocations: 3.969 kB / 1.429 GB, free: 346.2 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01695/2.769, allocations: 10.93 MB / 1.439 GB, free: 341.3 MB / 0.9324 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.03833/2.807, allocations: 24.89 MB / 1.464 GB, free: 328.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/2.807, allocations: 5.281 kB / 1.464 GB, free: 328.9 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004714/2.812, allocations: 0.6931 MB / 1.464 GB, free: 328.3 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06212/2.874, allocations: 10.35 MB / 1.475 GB, free: 318.6 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001508/2.876, allocations: 99.94 kB / 1.475 GB, free: 318.5 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004491/2.88, allocations: 4.935 MB / 1.48 GB, free: 313.3 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/2.88, allocations: 4 kB / 1.48 GB, free: 313.3 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02564/2.906, allocations: 19.55 MB / 1.499 GB, free: 293.9 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006674/2.913, allocations: 2.004 MB / 1.501 GB, free: 291.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003103/2.916, allocations: 71.98 kB / 1.501 GB, free: 291.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008362/2.924, allocations: 448.9 kB / 1.501 GB, free: 291.4 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009555/2.925, allocations: 225.4 kB / 1.501 GB, free: 291.1 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006645/2.926, allocations: 155.9 kB / 1.501 GB, free: 291 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.009966/2.936, allocations: 5.566 MB / 1.507 GB, free: 285.4 MB / 0.9324 GB Notification: Performance of sort global known variables: time 6.51e-07/2.936, allocations: 0 / 1.507 GB, free: 285.4 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.02623/2.962, allocations: 4.978 MB / 1.512 GB, free: 280.7 MB / 0.9324 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.003565/2.966, allocations: 0.5508 MB / 1.512 GB, free: 280.2 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.04062/3.006, allocations: 24.2 MB / 1.536 GB, free: 255.9 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/3.007, allocations: 4 kB / 1.536 GB, free: 255.9 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.009881/3.016, allocations: 6.451 MB / 1.542 GB, free: 249.5 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02766/3.044, allocations: 5.044 MB / 1.547 GB, free: 244.5 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03443/3.079, allocations: 23.28 MB / 1.57 GB, free: 221.2 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004428/3.083, allocations: 5.202 MB / 1.575 GB, free: 216 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006926/3.09, allocations: 0.9632 MB / 1.576 GB, free: 215 MB / 0.9324 GB Notification: Performance of SimCode: time 1.443e-06/3.09, allocations: 0 / 1.576 GB, free: 215 MB / 0.9324 GB Notification: Performance of Templates: time 0.9648/4.055, allocations: 350.2 MB / 1.918 GB, free: 236.6 MB / 0.9324 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)