Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001262/0.001262, allocations: 192.2 kB / 16.25 MB, free: 6.625 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.39/1.39, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.773/1.773, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001308/0.001308, allocations: 62.8 kB / 0.671 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2182, allocations: 114.6 MB / 0.7829 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.5946/0.8129, allocations: 159.4 MB / 0.9385 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002853/0.8158, allocations: 1.742 MB / 0.9402 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003706/0.8162, allocations: 12.16 kB / 0.9402 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005405/0.8167, allocations: 141.2 kB / 0.9404 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.8182, allocations: 0.4911 MB / 0.9408 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.8193, allocations: 359.6 kB / 0.9412 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002486/0.8218, allocations: 2.55 MB / 0.9437 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.823, allocations: 0.8929 MB / 0.9445 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.8263, allocations: 1.063 MB / 0.9456 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.8279, allocations: 0.7547 MB / 0.9463 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.8281, allocations: 55.02 kB / 0.9464 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.8303, allocations: 0.7527 MB / 0.9471 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004766/0.8308, allocations: 309.5 kB / 0.9474 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.8319, allocations: 0.5414 MB / 0.9479 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00251/0.8344, allocations: 1.424 MB / 0.9493 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8344, allocations: 0 / 0.9493 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8344, allocations: 0 / 0.9493 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.021e-05/0.8344, allocations: 0 / 0.9493 GB, free: 5.613 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002846/0.8373, allocations: 1.451 MB / 0.9507 GB, free: 20.76 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.8373, allocations: 10.03 kB / 0.9508 GB, free: 20.76 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008834/0.8382, allocations: 180.5 kB / 0.9509 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.8398, allocations: 0.8075 MB / 0.9517 GB, free: 20.33 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.864e-05/0.8399, allocations: 40.22 kB / 0.9518 GB, free: 20.33 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.84, allocations: 61.11 kB / 0.9518 GB, free: 20.33 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.8417, allocations: 0.794 MB / 0.9526 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.8417, allocations: 5 kB / 0.9526 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.32e-05/0.8418, allocations: 20.03 kB / 0.9526 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.8418, allocations: 16.23 kB / 0.9526 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009309/0.8428, allocations: 0.5353 MB / 0.9531 GB, free: 20.09 MB / 0.7481 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.004129/0.8469, allocations: 4.586 MB / 0.9576 GB, free: 16.64 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006838/0.8476, allocations: 423 kB / 0.958 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/0.848, allocations: 250.8 kB / 0.9583 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003135/0.8483, allocations: 192.8 kB / 0.9585 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004458/0.8488, allocations: 294.2 kB / 0.9587 GB, free: 16.33 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=31): time 1.804e-06/0.8488, allocations: 0 / 0.9587 GB, free: 16.33 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31): time 0.001329/0.8501, allocations: 0.6351 MB / 0.9594 GB, free: 16.24 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.8502, allocations: 84.3 kB / 0.9594 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.8516, allocations: 1.122 MB / 0.9605 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.278e-05/0.8517, allocations: 33.48 kB / 0.9606 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/0.852, allocations: 490.8 kB / 0.961 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.562e-05/0.8521, allocations: 109.9 kB / 0.9611 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.8523, allocations: 110.7 kB / 0.9612 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.8524, allocations: 328.6 kB / 0.9616 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.8528, allocations: 218.4 kB / 0.9618 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/0.8533, allocations: 0.5188 MB / 0.9623 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007912/0.8541, allocations: 0.6241 MB / 0.9629 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.8542, allocations: 4.281 kB / 0.9629 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001105/0.8553, allocations: 0.7258 MB / 0.9636 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.8553, allocations: 36.34 kB / 0.9636 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.8553, allocations: 5.062 kB / 0.9636 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.8553, allocations: 8.344 kB / 0.9636 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/0.8558, allocations: 114.9 kB / 0.9637 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.8558, allocations: 10.56 kB / 0.9638 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007876/0.8566, allocations: 98.48 kB / 0.9639 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.8567, allocations: 23.62 kB / 0.9639 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006744/0.8573, allocations: 0.497 MB / 0.9644 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004813/0.8578, allocations: 496.4 kB / 0.9648 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007093/0.8586, allocations: 0.553 MB / 0.9654 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/0.8586, allocations: 1.25 kB / 0.9654 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001004/0.8596, allocations: 0.6414 MB / 0.966 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.8596, allocations: 40.05 kB / 0.966 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.8596, allocations: 9.031 kB / 0.966 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/0.8596, allocations: 12.02 kB / 0.9661 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.86, allocations: 106.9 kB / 0.9662 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.86, allocations: 10.66 kB / 0.9662 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000716/0.8607, allocations: 85.58 kB / 0.9663 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.8608, allocations: 21.44 kB / 0.9663 GB, free: 13.75 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.861, allocations: 220.7 kB / 0.9665 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.8611, allocations: 102.1 kB / 0.9666 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008488/0.862, allocations: 498.3 kB / 0.9671 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.862, allocations: 7 kB / 0.9671 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.862, allocations: 2.812 kB / 0.9671 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.862, allocations: 4 kB / 0.9671 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.8641, allocations: 1.379 MB / 0.9684 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.8641, allocations: 2.281 kB / 0.9684 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.8644, allocations: 76.92 kB / 0.9685 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.8644, allocations: 3.625 kB / 0.9685 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.8644, allocations: 10.84 kB / 0.9685 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.8644, allocations: 2.656 kB / 0.9685 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.8644, allocations: 3 kB / 0.9685 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007672/0.8652, allocations: 0.5986 MB / 0.9691 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.8655, allocations: 215.9 kB / 0.9693 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.8656, allocations: 7.562 kB / 0.9693 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/0.866, allocations: 49.05 kB / 0.9694 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.425e-05/0.8661, allocations: 29.33 kB / 0.9694 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.8662, allocations: 18.89 kB / 0.9694 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001089/0.8673, allocations: 0.7869 MB / 0.9702 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.8673, allocations: 0 / 0.9702 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001454/0.8687, allocations: 411.6 kB / 0.9706 GB, free: 12.44 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004762/0.8692, allocations: 174.5 kB / 0.9707 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.8707, allocations: 0.8571 MB / 0.9716 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8707, allocations: 0.5625 kB / 0.9716 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.871, allocations: 205.5 kB / 0.9718 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.8727, allocations: 462.7 kB / 0.9722 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.8753, allocations: 2.041 MB / 0.9742 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006509/0.8759, allocations: 1.181 MB / 0.9753 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009334/0.8769, allocations: 401.9 kB / 0.9757 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.877, allocations: 77.22 kB / 0.9758 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of SimCode: time 5.11e-07/0.877, allocations: 0 / 0.9758 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of Templates: time 0.02607/0.9031, allocations: 16.94 MB / 0.9924 GB, free: 5.918 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)