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.369/1.369, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009278/0.0009279, allocations: 164.1 kB / 326.5 MB, free: 2.668 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.565/1.565, allocations: 205 MB / 0.5766 GB, free: 20.99 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.000758/0.0007578, allocations: 92.06 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003229, allocations: 12 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2017, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.05811/0.2599, allocations: 80.05 MB / 0.9749 GB, free: 3.801 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03157/0.2915, allocations: 22.81 MB / 0.9972 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004423/0.296, allocations: 95.31 kB / 0.9973 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003847/0.2998, allocations: 0.9754 MB / 0.9982 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008407/0.3083, allocations: 2.555 MB / 1.001 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006378/0.3147, allocations: 2.168 MB / 1.003 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.03328/0.348, allocations: 35.83 MB / 1.038 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01968/0.3677, allocations: 14.86 MB / 1.052 GB, free: 4.25 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4586/0.8263, allocations: 9.279 MB / 1.061 GB, free: 20.71 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02335/0.8497, allocations: 11.33 MB / 1.072 GB, free: 20.27 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.00717/0.8569, allocations: 0.8144 MB / 1.073 GB, free: 20.27 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01423/0.8712, allocations: 2.065 MB / 1.075 GB, free: 20.27 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.008622/0.8799, allocations: 3.058 MB / 1.078 GB, free: 19.92 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.01553/0.8954, allocations: 5.778 MB / 1.084 GB, free: 18.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01937/0.9148, allocations: 13.94 MB / 1.098 GB, free: 18.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.9149, allocations: 0 / 1.098 GB, free: 18.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.677e-06/0.9149, allocations: 5.484 kB / 1.098 GB, free: 18.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.00064/0.9155, allocations: 2.969 kB / 1.098 GB, free: 18.16 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.03645/0.952, allocations: 12.97 MB / 1.11 GB, free: 14.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.9521, allocations: 9.344 kB / 1.11 GB, free: 14.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/0.9626, allocations: 1.274 MB / 1.111 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02241/0.985, allocations: 9.894 MB / 1.121 GB, free: 10.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005152/0.9856, allocations: 445.3 kB / 1.122 GB, free: 10.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004349/0.9899, allocations: 0.5796 MB / 1.122 GB, free: 10.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03502/1.025, allocations: 14.73 MB / 1.136 GB, free: 5.922 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002625/1.025, allocations: 16.78 kB / 1.136 GB, free: 5.922 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003401/1.029, allocations: 245.2 kB / 1.137 GB, free: 5.918 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.827e-05/1.029, allocations: 138 kB / 1.137 GB, free: 5.918 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03498/1.064, allocations: 19.92 MB / 1.156 GB, free: 15.73 MB / 0.7136 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.1348/1.199, allocations: 66.64 MB / 1.221 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01728/1.216, allocations: 9.329 MB / 1.231 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01467/1.231, allocations: 8.68 MB / 1.239 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06594/1.297, allocations: 30.97 MB / 1.269 GB, free: 12.97 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01387/1.311, allocations: 7.756 MB / 1.277 GB, free: 5.172 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03054/1.341, allocations: 11.76 MB / 1.288 GB, free: 9.531 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=300): time 3.239e-05/1.341, allocations: 0 / 1.288 GB, free: 9.531 MB / 0.8386 GB Notification: Performance of matching and sorting (n=300): time 0.06402/1.405, allocations: 24.56 MB / 1.312 GB, free: 0.8906 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/1.405, allocations: 81.77 kB / 1.312 GB, free: 0.7969 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01942/1.425, allocations: 8.166 MB / 1.32 GB, free: 8.641 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.002639/1.427, allocations: 101.6 kB / 1.32 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.005329/1.433, allocations: 4.018 MB / 1.324 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003726/1.437, allocations: 1.076 MB / 1.325 GB, free: 3.438 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002659/1.439, allocations: 383.5 kB / 1.326 GB, free: 3.055 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.492e-05/1.439, allocations: 304.3 kB / 1.326 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01302/1.452, allocations: 6.629 MB / 1.333 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01376/1.466, allocations: 8.487 MB / 1.341 GB, free: 2.812 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02632/1.493, allocations: 15.45 MB / 1.356 GB, free: 2.859 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.83e-05/1.493, allocations: 16 kB / 1.356 GB, free: 2.844 MB / 0.9011 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.04746/1.54, allocations: 18.03 MB / 1.374 GB, free: 1.078 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001866/1.542, allocations: 1.555 MB / 1.375 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001533/1.542, allocations: 48 kB / 1.375 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06647/1.609, allocations: 11.57 MB / 1.386 GB, free: 3.281 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00891/1.618, allocations: 1.571 MB / 1.388 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009745/1.627, allocations: 6.81 MB / 1.395 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01207/1.64, allocations: 0.5943 MB / 1.395 GB, free: 10.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003247/1.643, allocations: 0.5454 MB / 1.396 GB, free: 9.652 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/1.643, allocations: 4 kB / 1.396 GB, free: 9.648 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5542/2.197, allocations: 16.77 MB / 1.412 GB, free: 366.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001861/2.197, allocations: 47.91 kB / 1.412 GB, free: 366.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06756/2.265, allocations: 11.02 MB / 1.423 GB, free: 366.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009114/2.274, allocations: 1.556 MB / 1.424 GB, free: 366.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01566/2.29, allocations: 11.02 MB / 1.435 GB, free: 362 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01296/2.303, allocations: 0.569 MB / 1.436 GB, free: 361.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003591/2.306, allocations: 0.5327 MB / 1.436 GB, free: 361.9 MB / 0.948 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 (527): * Single equations (assignments): 521 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.009203/2.316, allocations: 2.633 MB / 1.439 GB, free: 361.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004502/2.32, allocations: 0.7536 MB / 1.44 GB, free: 361.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02784/2.348, allocations: 14.35 MB / 1.454 GB, free: 355.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.17e-05/2.348, allocations: 35.48 kB / 1.454 GB, free: 355.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/2.348, allocations: 0 / 1.454 GB, free: 355.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01672/2.365, allocations: 10.97 MB / 1.464 GB, free: 350.4 MB / 0.948 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.04945/2.414, allocations: 24.91 MB / 1.489 GB, free: 325.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.862e-05/2.414, allocations: 0 / 1.489 GB, free: 325.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005305/2.42, allocations: 0.7021 MB / 1.489 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05812/2.478, allocations: 10.34 MB / 1.499 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001688/2.48, allocations: 101.4 kB / 1.5 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005159/2.485, allocations: 4.94 MB / 1.504 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/2.485, allocations: 0 / 1.504 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03369/2.519, allocations: 19.58 MB / 1.523 GB, free: 290.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007409/2.526, allocations: 1.854 MB / 1.525 GB, free: 288.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004013/2.53, allocations: 71.98 kB / 1.525 GB, free: 288.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008724/2.539, allocations: 449.4 kB / 1.526 GB, free: 288.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001767/2.541, allocations: 214.4 kB / 1.526 GB, free: 287.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001552/2.542, allocations: 163.9 kB / 1.526 GB, free: 287.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01224/2.555, allocations: 5.632 MB / 1.532 GB, free: 282.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.91e-07/2.555, allocations: 0 / 1.532 GB, free: 282.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02633/2.581, allocations: 4.975 MB / 1.536 GB, free: 277.3 MB / 0.948 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (2,5), (20,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003402/2.584, allocations: 0.5913 MB / 1.537 GB, free: 276.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03956/2.624, allocations: 24.3 MB / 1.561 GB, free: 252.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/2.624, allocations: 0 / 1.561 GB, free: 252.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.009461/2.633, allocations: 6.475 MB / 1.567 GB, free: 245.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03411/2.668, allocations: 5.031 MB / 1.572 GB, free: 241 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03812/2.706, allocations: 23.66 MB / 1.595 GB, free: 217.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005032/2.711, allocations: 5.194 MB / 1.6 GB, free: 212.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00651/2.717, allocations: 0.9593 MB / 1.601 GB, free: 211.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.444e-06/2.717, allocations: 0 / 1.601 GB, free: 211.2 MB / 0.948 GB Notification: Performance of Templates: time 0.823/3.54, allocations: 350.3 MB / 1.943 GB, free: 250.9 MB / 0.948 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)