Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 105 kB / 15.99 MB, free: 6.352 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.002024/0.002024, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.907/1.907, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.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.689/1.689, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001485/0.001485, allocations: 69.48 kB / 0.6716 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.238, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03453/0.2726, allocations: 29.5 MB / 0.8123 GB, free: 288 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01982/0.2924, allocations: 12.5 MB / 0.8245 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002236/0.2947, allocations: 39.75 kB / 0.8246 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002345/0.2971, allocations: 0.6104 MB / 0.8252 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004256/0.3014, allocations: 1.352 MB / 0.8265 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003694/0.3051, allocations: 1.253 MB / 0.8277 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005243/0.3104, allocations: 3.831 MB / 0.8314 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/0.3126, allocations: 1.361 MB / 0.8328 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003549/0.3161, allocations: 1.508 MB / 0.8343 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.3179, allocations: 1.085 MB / 0.8353 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002926/0.3182, allocations: 120 kB / 0.8354 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/0.3207, allocations: 1.131 MB / 0.8365 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005167/0.3213, allocations: 398.6 kB / 0.8369 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.3224, allocations: 0.789 MB / 0.8377 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002736/0.3251, allocations: 1.852 MB / 0.8395 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3252, allocations: 4 kB / 0.8395 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3252, allocations: 0 / 0.8395 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.435e-05/0.3252, allocations: 0 / 0.8395 GB, free: 4.359 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003725/0.329, allocations: 1.931 MB / 0.8414 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.329, allocations: 12.03 kB / 0.8414 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.3302, allocations: 250.8 kB / 0.8416 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/0.3327, allocations: 1.323 MB / 0.8429 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.296e-05/0.3328, allocations: 62 kB / 0.843 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.3329, allocations: 84 kB / 0.8431 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/0.3348, allocations: 0.9841 MB / 0.844 GB, free: 15.55 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.3348, allocations: 7.938 kB / 0.844 GB, free: 15.54 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.03e-05/0.3349, allocations: 32 kB / 0.8441 GB, free: 15.51 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.3349, allocations: 20 kB / 0.8441 GB, free: 15.49 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.3364, allocations: 0.7142 MB / 0.8448 GB, free: 14.78 MB / 0.67 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.006409/0.3428, allocations: 4.937 MB / 0.8496 GB, free: 9.492 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.3441, allocations: 0.5692 MB / 0.8502 GB, free: 8.918 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006674/0.3448, allocations: 320.4 kB / 0.8505 GB, free: 8.605 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002472/0.3473, allocations: 1.58 MB / 0.852 GB, free: 6.875 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006974/0.348, allocations: 335 kB / 0.8523 GB, free: 6.535 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004651/0.3485, allocations: 75.5 kB / 0.8524 GB, free: 6.461 MB / 0.67 GB Notification: Performance of pre-optimization done (n=44): time 2.665e-06/0.3485, allocations: 0 / 0.8524 GB, free: 6.461 MB / 0.67 GB Notification: Performance of matching and sorting (n=44): time 0.003146/0.3516, allocations: 1.157 MB / 0.8535 GB, free: 5.273 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.3517, allocations: 63.34 kB / 0.8536 GB, free: 5.199 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.3534, allocations: 1.266 MB / 0.8548 GB, free: 3.918 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/0.3535, allocations: 37.7 kB / 0.8549 GB, free: 3.875 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005738/0.3541, allocations: 0.6411 MB / 0.8555 GB, free: 3.227 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.3542, allocations: 153.8 kB / 0.8556 GB, free: 3.074 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/0.3545, allocations: 162.5 kB / 0.8558 GB, free: 2.91 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3546, allocations: 337.9 kB / 0.8561 GB, free: 2.574 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005752/0.3552, allocations: 272.7 kB / 0.8564 GB, free: 2.305 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008154/0.356, allocations: 0.5864 MB / 0.8569 GB, free: 1.574 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.3574, allocations: 0.8175 MB / 0.8577 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.3574, allocations: 0 / 0.8577 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002307/0.3597, allocations: 1.113 MB / 0.8588 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.921e-05/0.3597, allocations: 41.62 kB / 0.8589 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.3598, allocations: 8 kB / 0.8589 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006508/0.3604, allocations: 177.2 kB / 0.859 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/0.361, allocations: 143.8 kB / 0.8592 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007814/0.3618, allocations: 0.7745 MB / 0.8599 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009148/0.3627, allocations: 64.67 kB / 0.86 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.258e-05/0.3628, allocations: 39.97 kB / 0.86 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009838/0.3638, allocations: 0.5565 MB / 0.8606 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006906/0.3645, allocations: 0.5528 MB / 0.8611 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001143/0.3657, allocations: 0.7473 MB / 0.8618 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.572e-06/0.3657, allocations: 4 kB / 0.8618 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.002006/0.3677, allocations: 1.061 MB / 0.8629 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.775e-05/0.3678, allocations: 37.7 kB / 0.8629 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.3678, allocations: 12 kB / 0.8629 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002249/0.368, allocations: 113.2 kB / 0.863 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.3686, allocations: 131.8 kB / 0.8632 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.3709, allocations: 2.4 MB / 0.8655 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009664/0.3719, allocations: 76.61 kB / 0.8656 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.926e-05/0.372, allocations: 35.98 kB / 0.8656 GB, free: 8.043 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003065/0.3723, allocations: 232 kB / 0.8658 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.3726, allocations: 134.2 kB / 0.866 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/0.3746, allocations: 0.8766 MB / 0.8668 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.3746, allocations: 4 kB / 0.8668 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3746, allocations: 7.938 kB / 0.8668 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001364/0.376, allocations: 0.8804 MB / 0.8677 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003338/0.3794, allocations: 1.787 MB / 0.8694 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.3794, allocations: 0 / 0.8694 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.3798, allocations: 83.94 kB / 0.8695 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002916/0.3801, allocations: 116.8 kB / 0.8696 GB, free: 3.766 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.3802, allocations: 15.98 kB / 0.8696 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006944/0.3809, allocations: 0.7589 MB / 0.8704 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3809, allocations: 0 / 0.8704 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.3833, allocations: 1.179 MB / 0.8715 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006175/0.3839, allocations: 259.5 kB / 0.8718 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/0.3842, allocations: 12 kB / 0.8718 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008236/0.385, allocations: 63.78 kB / 0.8719 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.3851, allocations: 32.39 kB / 0.8719 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.264e-05/0.3852, allocations: 23.98 kB / 0.8719 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001481/0.3867, allocations: 0.8698 MB / 0.8728 GB, free: 500 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3867, allocations: 0 / 0.8728 GB, free: 500 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002214/0.3889, allocations: 0.6434 MB / 0.8734 GB, free: 15.84 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.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 (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009866/0.3899, allocations: 370.3 kB / 0.8737 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002938/0.3929, allocations: 1.382 MB / 0.8751 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3929, allocations: 448 / 0.8751 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007043/0.3936, allocations: 330.3 kB / 0.8754 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.3963, allocations: 0.6018 MB / 0.876 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.4007, allocations: 2.742 MB / 0.8787 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008764/0.4016, allocations: 1.257 MB / 0.8799 GB, free: 9.086 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/0.402, allocations: 107.4 kB / 0.88 GB, free: 8.98 MB / 0.7012 GB Notification: Performance of SimCode: time 8.61e-07/0.4021, allocations: 3.938 kB / 0.88 GB, free: 8.977 MB / 0.7012 GB Notification: Performance of Templates: time 0.03966/0.4417, allocations: 28.65 MB / 0.908 GB, free: 12.5 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)