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.001407/0.001407, allocations: 104.8 kB / 15.98 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.001505/0.001505, allocations: 193 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.589/1.589, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.67/1.67, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.002234/0.002234, allocations: 68.75 kB / 0.6716 GB, free: 26.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3112, allocations: 114.5 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6654/0.9767, allocations: 159.4 MB / 0.9392 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002975/0.9797, allocations: 1.737 MB / 0.9409 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004072/0.9802, allocations: 10.72 kB / 0.9409 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006062/0.9808, allocations: 143.6 kB / 0.941 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.9822, allocations: 493.4 kB / 0.9415 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.9833, allocations: 363.4 kB / 0.9418 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002378/0.9857, allocations: 2.55 MB / 0.9443 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.9868, allocations: 0.8932 MB / 0.9452 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.9887, allocations: 1.064 MB / 0.9462 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000967/0.9897, allocations: 0.7567 MB / 0.947 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.9898, allocations: 55.25 kB / 0.947 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.9914, allocations: 0.757 MB / 0.9478 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004272/0.9919, allocations: 310.8 kB / 0.9481 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008501/0.9927, allocations: 0.5449 MB / 0.9486 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.9944, allocations: 1.052 MB / 0.9496 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9944, allocations: 0.7188 kB / 0.9496 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9944, allocations: 0 / 0.9496 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.321e-05/0.9944, allocations: 0.75 kB / 0.9496 GB, free: 5.645 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.002836/0.9973, allocations: 1.447 MB / 0.951 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.9973, allocations: 9.469 kB / 0.9511 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008261/0.9982, allocations: 185.6 kB / 0.9512 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.9996, allocations: 0.8053 MB / 0.952 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.015e-05/0.9996, allocations: 44.45 kB / 0.9521 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.9998, allocations: 59.66 kB / 0.9521 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/1.001, allocations: 0.7921 MB / 0.9529 GB, free: 20.13 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/1.001, allocations: 5.766 kB / 0.9529 GB, free: 20.13 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.047e-05/1.001, allocations: 23.88 kB / 0.9529 GB, free: 20.13 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/1.001, allocations: 13.53 kB / 0.9529 GB, free: 20.13 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/1.002, allocations: 0.5339 MB / 0.9534 GB, free: 20.13 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.004065/1.006, allocations: 4.584 MB / 0.9579 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000687/1.007, allocations: 419.9 kB / 0.9583 GB, free: 16.64 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/1.007, allocations: 247.1 kB / 0.9586 GB, free: 16.64 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003068/1.008, allocations: 195.7 kB / 0.9587 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004683/1.008, allocations: 299.4 kB / 0.959 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/1.008, allocations: 0 / 0.959 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31): time 0.001431/1.01, allocations: 0.6352 MB / 0.9597 GB, free: 16.28 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/1.01, allocations: 85.2 kB / 0.9597 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/1.011, allocations: 1.117 MB / 0.9608 GB, free: 16.03 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.078e-05/1.011, allocations: 37.86 kB / 0.9609 GB, free: 16 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/1.012, allocations: 489.6 kB / 0.9613 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.56e-05/1.012, allocations: 110.8 kB / 0.9614 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/1.012, allocations: 110.6 kB / 0.9615 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.012, allocations: 328.6 kB / 0.9619 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/1.012, allocations: 216.8 kB / 0.9621 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005323/1.013, allocations: 0.5199 MB / 0.9626 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007584/1.014, allocations: 0.6251 MB / 0.9632 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/1.014, allocations: 2.281 kB / 0.9632 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001193/1.015, allocations: 0.724 MB / 0.9639 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/1.015, allocations: 39.44 kB / 0.9639 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/1.015, allocations: 6.125 kB / 0.9639 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/1.015, allocations: 12.5 kB / 0.9639 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/1.015, allocations: 110.2 kB / 0.964 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/1.015, allocations: 10.72 kB / 0.9641 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008367/1.016, allocations: 99.56 kB / 0.9642 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/1.016, allocations: 22.72 kB / 0.9642 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007501/1.017, allocations: 0.5005 MB / 0.9647 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004374/1.017, allocations: 495.5 kB / 0.9651 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006424/1.018, allocations: 0.5593 MB / 0.9657 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.278e-06/1.018, allocations: 1.094 kB / 0.9657 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001093/1.019, allocations: 0.6425 MB / 0.9663 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/1.019, allocations: 37.92 kB / 0.9663 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.019, allocations: 6.094 kB / 0.9664 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/1.019, allocations: 10.14 kB / 0.9664 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/1.02, allocations: 104.4 kB / 0.9665 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/1.02, allocations: 10.84 kB / 0.9665 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008111/1.021, allocations: 88.25 kB / 0.9666 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/1.021, allocations: 20.97 kB / 0.9666 GB, free: 13.79 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.0002376/1.021, allocations: 225 kB / 0.9668 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/1.021, allocations: 97.75 kB / 0.9669 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009374/1.022, allocations: 492.6 kB / 0.9674 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/1.022, allocations: 4.922 kB / 0.9674 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.022, allocations: 0 / 0.9674 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.022, allocations: 4.609 kB / 0.9674 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/1.024, allocations: 1.379 MB / 0.9687 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/1.024, allocations: 5.562 kB / 0.9687 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/1.024, allocations: 69.83 kB / 0.9688 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/1.024, allocations: 3.812 kB / 0.9688 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/1.024, allocations: 10.48 kB / 0.9688 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/1.024, allocations: 2.625 kB / 0.9688 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.024, allocations: 3.094 kB / 0.9688 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008154/1.025, allocations: 0.5985 MB / 0.9694 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/1.025, allocations: 217.7 kB / 0.9696 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/1.026, allocations: 8.938 kB / 0.9696 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/1.026, allocations: 47.77 kB / 0.9696 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/1.026, allocations: 29.67 kB / 0.9697 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/1.026, allocations: 15.75 kB / 0.9697 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009637/1.027, allocations: 0.7863 MB / 0.9705 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/1.027, allocations: 0 / 0.9705 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001329/1.029, allocations: 414.3 kB / 0.9709 GB, free: 12.49 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.0004837/1.029, allocations: 184 kB / 0.971 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001437/1.03, allocations: 0.8556 MB / 0.9719 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/1.03, allocations: 4.406 kB / 0.9719 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003017/1.031, allocations: 201 kB / 0.9721 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/1.033, allocations: 442.8 kB / 0.9725 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/1.035, allocations: 2.088 MB / 0.9745 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/1.036, allocations: 1.182 MB / 0.9757 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/1.036, allocations: 75.06 kB / 0.9757 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/1.036, allocations: 0 / 0.9757 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of Templates: time 0.02256/1.059, allocations: 15.86 MB / 0.9912 GB, free: 6.293 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)