Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 97.14 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 292.3 MB / 0.5495 GB, free: 17.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.91 kB / 0.6721 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2257, allocations: 114.6 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.4593/0.685, allocations: 80.92 MB / 0.863 GB, free: 10.87 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03719/0.7222, allocations: 22.3 MB / 0.8848 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005438/0.7277, allocations: 109.3 kB / 0.8849 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004403/0.7322, allocations: 1.144 MB / 0.8861 GB, free: 9.914 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009897/0.7421, allocations: 2.755 MB / 0.8887 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007581/0.7497, allocations: 2.371 MB / 0.8911 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.02947/0.7792, allocations: 26.71 MB / 0.9171 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02261/0.8019, allocations: 17 MB / 0.9337 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02313/0.8251, allocations: 11.21 MB / 0.9447 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02171/0.8468, allocations: 11.66 MB / 0.9561 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.005509/0.8524, allocations: 1.281 MB / 0.9573 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01098/0.8634, allocations: 2.564 MB / 0.9598 GB, free: 6.719 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.007699/0.8711, allocations: 3.627 MB / 0.9634 GB, free: 3.082 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.01459/0.8857, allocations: 6.45 MB / 0.9697 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02543/0.9112, allocations: 18.23 MB / 0.9875 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.9113, allocations: 0 / 0.9875 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9113, allocations: 0 / 0.9875 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0005419/0.9118, allocations: 0 / 0.9875 GB, free: 10.32 MB / 0.7794 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.04273/0.9546, allocations: 12.12 MB / 0.9993 GB, free: 14.1 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.9546, allocations: 8.031 kB / 0.9993 GB, free: 14.09 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01342/0.9681, allocations: 1.246 MB / 1.001 GB, free: 12.83 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02905/0.9972, allocations: 9.52 MB / 1.01 GB, free: 3.234 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004844/0.9977, allocations: 440.1 kB / 1.01 GB, free: 2.805 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003971/1.002, allocations: 0.5857 MB / 1.011 GB, free: 2.219 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03515/1.037, allocations: 14.61 MB / 1.025 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002874/1.037, allocations: 23.78 kB / 1.025 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003647/1.041, allocations: 240 kB / 1.025 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/1.041, allocations: 144 kB / 1.025 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03449/1.076, allocations: 19.75 MB / 1.045 GB, free: 15.17 MB / 0.8419 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.1125/1.188, allocations: 60.22 MB / 1.104 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01499/1.203, allocations: 9.152 MB / 1.113 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01295/1.216, allocations: 8.597 MB / 1.121 GB, free: 15.68 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7248/1.941, allocations: 27.43 MB / 1.148 GB, free: 283.7 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0149/1.956, allocations: 7.636 MB / 1.155 GB, free: 281.5 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01708/1.973, allocations: 4.487 MB / 1.16 GB, free: 281 MB / 0.92 GB Notification: Performance of pre-optimization done (n=299): time 3.476e-05/1.973, allocations: 4.625 kB / 1.16 GB, free: 281 MB / 0.92 GB Notification: Performance of matching and sorting (n=299): time 0.05826/2.031, allocations: 23.31 MB / 1.182 GB, free: 273.3 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/2.031, allocations: 86.73 kB / 1.182 GB, free: 273.3 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01523/2.047, allocations: 8.1 MB / 1.19 GB, free: 270.7 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.002638/2.049, allocations: 106.5 kB / 1.19 GB, free: 270.6 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.004262/2.054, allocations: 3.997 MB / 1.194 GB, free: 267.7 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.003754/2.057, allocations: 1.079 MB / 1.195 GB, free: 266.8 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007205/2.065, allocations: 1.665 MB / 1.197 GB, free: 265.9 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.167e-05/2.065, allocations: 301.1 kB / 1.197 GB, free: 265.6 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0105/2.075, allocations: 6.546 MB / 1.204 GB, free: 261.9 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01117/2.087, allocations: 8.326 MB / 1.212 GB, free: 255.8 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02057/2.107, allocations: 15.24 MB / 1.227 GB, free: 245.3 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-05/2.107, allocations: 16.84 kB / 1.227 GB, free: 245.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03667/2.144, allocations: 17.56 MB / 1.244 GB, free: 228 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.144e-05/2.144, allocations: 61.75 kB / 1.244 GB, free: 227.9 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.788e-05/2.144, allocations: 48 kB / 1.244 GB, free: 227.9 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06431/2.208, allocations: 11.58 MB / 1.255 GB, free: 216.4 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008523/2.217, allocations: 1.557 MB / 1.257 GB, free: 214.8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005223/2.222, allocations: 3.782 MB / 1.26 GB, free: 210.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01045/2.233, allocations: 336.3 kB / 1.261 GB, free: 210.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002734/2.236, allocations: 0.546 MB / 1.261 GB, free: 210.1 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01519/2.251, allocations: 8.791 MB / 1.27 GB, free: 201.3 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01074/2.262, allocations: 8.284 MB / 1.278 GB, free: 192.1 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0203/2.282, allocations: 15.14 MB / 1.293 GB, free: 176.3 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.538e-05/2.282, allocations: 16 kB / 1.293 GB, free: 176.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=578) (initialization_lambda0): time 0.03469/2.317, allocations: 17.4 MB / 1.31 GB, free: 158.8 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.553e-05/2.317, allocations: 61.7 kB / 1.31 GB, free: 158.7 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-05/2.317, allocations: 48 kB / 1.31 GB, free: 158.7 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06499/2.382, allocations: 11.13 MB / 1.321 GB, free: 147.6 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008413/2.39, allocations: 1.542 MB / 1.322 GB, free: 146 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008909/2.399, allocations: 8.178 MB / 1.33 GB, free: 137.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01046/2.41, allocations: 345 kB / 1.331 GB, free: 137.2 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00291/2.413, allocations: 0.5382 MB / 1.331 GB, free: 136.7 MB / 0.92 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (524): * Single equations (assignments): 519 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,5), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.005141/2.418, allocations: 486.7 kB / 1.332 GB, free: 136.2 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005394/2.423, allocations: 0.7486 MB / 1.332 GB, free: 135.4 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03222/2.456, allocations: 14.17 MB / 1.346 GB, free: 121.2 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.742e-05/2.456, allocations: 41.64 kB / 1.346 GB, free: 121.2 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/2.456, allocations: 2.688 kB / 1.346 GB, free: 121.2 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01767/2.473, allocations: 10.78 MB / 1.357 GB, free: 110.3 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04184/2.515, allocations: 24.54 MB / 1.381 GB, free: 85.74 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/2.515, allocations: 8.062 kB / 1.381 GB, free: 85.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005455/2.521, allocations: 0.6767 MB / 1.381 GB, free: 85.06 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06368/2.585, allocations: 10.74 MB / 1.392 GB, free: 74.35 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0014/2.586, allocations: 107.9 kB / 1.392 GB, free: 74.25 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003532/2.59, allocations: 3.11 MB / 1.395 GB, free: 71.06 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/2.59, allocations: 0 / 1.395 GB, free: 71.06 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02741/2.617, allocations: 19.17 MB / 1.414 GB, free: 51.82 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005805/2.623, allocations: 1.803 MB / 1.415 GB, free: 49.99 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003427/2.626, allocations: 71.98 kB / 1.416 GB, free: 49.92 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007494/2.634, allocations: 203.5 kB / 1.416 GB, free: 49.72 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001488/2.635, allocations: 214.6 kB / 1.416 GB, free: 49.51 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001274/2.637, allocations: 159.9 kB / 1.416 GB, free: 49.35 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0102/2.647, allocations: 5.593 MB / 1.422 GB, free: 43.78 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.51e-07/2.647, allocations: 4 kB / 1.422 GB, free: 43.78 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.02169/2.669, allocations: 4.77 MB / 1.426 GB, free: 39.03 MB / 0.92 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 (301): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,4), (2,5), (20,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002828/2.671, allocations: 0.5898 MB / 1.427 GB, free: 38.5 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.04837/2.72, allocations: 29.17 MB / 1.455 GB, free: 9.316 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/2.72, allocations: 4 kB / 1.455 GB, free: 9.312 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.009666/2.73, allocations: 6.32 MB / 1.461 GB, free: 2.996 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0268/2.756, allocations: 4.931 MB / 1.466 GB, free: 14.36 MB / 0.9357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05207/2.808, allocations: 20.6 MB / 1.486 GB, free: 9.75 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009324/2.818, allocations: 5.189 MB / 1.491 GB, free: 4.523 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006467/2.824, allocations: 0.932 MB / 1.492 GB, free: 3.594 MB / 0.9513 GB Notification: Performance of SimCode: time 2.064e-06/2.824, allocations: 0 / 1.492 GB, free: 3.594 MB / 0.9513 GB Notification: Performance of Templates: time 0.7154/3.54, allocations: 305.3 MB / 1.79 GB, free: 52.61 MB / 0.9513 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)