Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.275/2.275, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001398, allocations: 181.2 kB / 325.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.296/2.296, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009922/0.0009918, allocations: 102.2 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004526/0.0004527, allocations: 12.19 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2007, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.09302/0.2938, allocations: 74.48 MB / 0.9718 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.04553/0.3393, allocations: 21 MB / 0.9923 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004055/0.3435, allocations: 95.31 kB / 0.9923 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004065/0.3476, allocations: 0.7724 MB / 0.9931 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009387/0.357, allocations: 2.27 MB / 0.9953 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.008058/0.3651, allocations: 1.789 MB / 0.9971 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.04995/0.4151, allocations: 30.33 MB / 1.027 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03051/0.4456, allocations: 14 MB / 1.04 GB, free: 280 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02197/0.4676, allocations: 9.165 MB / 1.049 GB, free: 7.074 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6306/1.098, allocations: 10.73 MB / 1.06 GB, free: 27.6 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.005675/1.104, allocations: 0.8126 MB / 1.061 GB, free: 27.6 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01149/1.116, allocations: 1.779 MB / 1.062 GB, free: 27.6 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.008628/1.124, allocations: 2.957 MB / 1.065 GB, free: 27.6 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.008056/1.132, allocations: 1.833 MB / 1.067 GB, free: 27.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02522/1.158, allocations: 13.89 MB / 1.081 GB, free: 27.19 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.158, allocations: 0.6562 kB / 1.081 GB, free: 27.19 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.427e-06/1.158, allocations: 1.406 kB / 1.081 GB, free: 27.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005475/1.158, allocations: 1.453 kB / 1.081 GB, free: 27.19 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.05952/1.218, allocations: 13.08 MB / 1.093 GB, free: 23.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.218, allocations: 9.969 kB / 1.093 GB, free: 23.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/1.23, allocations: 1.275 MB / 1.095 GB, free: 22.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03673/1.267, allocations: 9.618 MB / 1.104 GB, free: 21.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000621/1.268, allocations: 437.1 kB / 1.104 GB, free: 21.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005423/1.273, allocations: 0.5833 MB / 1.105 GB, free: 21.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05147/1.325, allocations: 14.68 MB / 1.119 GB, free: 16.99 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003742/1.325, allocations: 27.97 kB / 1.119 GB, free: 16.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005383/1.331, allocations: 238.9 kB / 1.12 GB, free: 16.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/1.331, allocations: 139.8 kB / 1.12 GB, free: 16.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05273/1.384, allocations: 19.89 MB / 1.139 GB, free: 13.59 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.2461/1.63, allocations: 66.63 MB / 1.204 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03763/1.667, allocations: 9.314 MB / 1.213 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03144/1.699, allocations: 8.684 MB / 1.222 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1084/1.807, allocations: 30.98 MB / 1.252 GB, free: 9.973 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02255/1.83, allocations: 7.748 MB / 1.26 GB, free: 2.184 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05836/1.889, allocations: 11.76 MB / 1.271 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=300): time 2.622e-05/1.889, allocations: 0 / 1.271 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of matching and sorting (n=300): time 0.1243/2.013, allocations: 24.44 MB / 1.295 GB, free: 14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/2.013, allocations: 85.77 kB / 1.295 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02341/2.036, allocations: 8.1 MB / 1.303 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.002946/2.039, allocations: 97.7 kB / 1.303 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.007367/2.047, allocations: 4.008 MB / 1.307 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.004547/2.051, allocations: 1.082 MB / 1.308 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002737/2.054, allocations: 92 kB / 1.308 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0005749/2.055, allocations: 487.8 kB / 1.309 GB, free: 52 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01911/2.074, allocations: 6.551 MB / 1.315 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02159/2.096, allocations: 8.397 MB / 1.323 GB, free: 280 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0221/2.118, allocations: 7.438 MB / 1.33 GB, free: 8.875 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.569e-05/2.118, allocations: 20 kB / 1.33 GB, free: 8.855 MB / 0.8698 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.07478/2.193, allocations: 17.8 MB / 1.348 GB, free: 7.309 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001357/2.194, allocations: 1.559 MB / 1.349 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-05/2.194, allocations: 48 kB / 1.349 GB, free: 5.047 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1422/2.336, allocations: 11.49 MB / 1.361 GB, free: 9.594 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01733/2.354, allocations: 1.567 MB / 1.362 GB, free: 8.094 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01761/2.371, allocations: 6.803 MB / 1.369 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02081/2.392, allocations: 0.5931 MB / 1.369 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003837/2.396, allocations: 0.5448 MB / 1.37 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/2.396, allocations: 4 kB / 1.37 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05999/2.456, allocations: 16.74 MB / 1.386 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/2.456, allocations: 48 kB / 1.386 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.138/2.594, allocations: 11.03 MB / 1.397 GB, free: 4.457 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02147/2.616, allocations: 1.553 MB / 1.399 GB, free: 2.973 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6389/3.255, allocations: 11.01 MB / 1.409 GB, free: 351.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01949/3.274, allocations: 0.569 MB / 1.41 GB, free: 351.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003642/3.278, allocations: 0.5349 MB / 1.41 GB, free: 351.7 MB / 0.9323 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.01148/3.29, allocations: 2.635 MB / 1.413 GB, free: 351.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004945/3.295, allocations: 0.7524 MB / 1.414 GB, free: 351.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05029/3.345, allocations: 14.36 MB / 1.428 GB, free: 347.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.331e-05/3.345, allocations: 35.05 kB / 1.428 GB, free: 347.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/3.345, allocations: 0 / 1.428 GB, free: 347.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0315/3.377, allocations: 10.93 MB / 1.438 GB, free: 342.4 MB / 0.9323 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.07792/3.455, allocations: 24.9 MB / 1.463 GB, free: 330.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.314e-05/3.455, allocations: 0 / 1.463 GB, free: 330.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0161/3.471, allocations: 0.6997 MB / 1.463 GB, free: 329.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1449/3.616, allocations: 10.34 MB / 1.474 GB, free: 319.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001731/3.618, allocations: 107.9 kB / 1.474 GB, free: 319.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008286/3.626, allocations: 4.929 MB / 1.478 GB, free: 314.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/3.626, allocations: 4 kB / 1.478 GB, free: 314.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0502/3.676, allocations: 19.54 MB / 1.498 GB, free: 295.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009071/3.685, allocations: 2.009 MB / 1.499 GB, free: 293.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004462/3.69, allocations: 76.59 kB / 1.5 GB, free: 293 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01427/3.704, allocations: 448.9 kB / 1.5 GB, free: 292.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001994/3.706, allocations: 218.4 kB / 1.5 GB, free: 292.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001664/3.708, allocations: 155.9 kB / 1.5 GB, free: 292.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0146/3.722, allocations: 5.577 MB / 1.506 GB, free: 286.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.052e-06/3.723, allocations: 0 / 1.506 GB, free: 286.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.02949/3.752, allocations: 4.97 MB / 1.511 GB, free: 281.9 MB / 0.9323 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.003519/3.756, allocations: 0.5727 MB / 1.511 GB, free: 281.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0617/3.817, allocations: 24.19 MB / 1.535 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/3.817, allocations: 12 kB / 1.535 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01633/3.834, allocations: 6.459 MB / 1.541 GB, free: 250.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04661/3.88, allocations: 5.037 MB / 1.546 GB, free: 245.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05284/3.933, allocations: 23.14 MB / 1.569 GB, free: 222.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009421/3.943, allocations: 5.206 MB / 1.574 GB, free: 217.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.03293/3.976, allocations: 4.965 MB / 1.579 GB, free: 212.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009895/3.986, allocations: 0.9242 MB / 1.58 GB, free: 211.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.323e-06/3.986, allocations: 0 / 1.58 GB, free: 211.4 MB / 0.9323 GB Notification: Performance of Templates: time 1.123/5.109, allocations: 219.4 MB / 1.794 GB, free: 342.8 MB / 0.9323 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)