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.001539/0.001538, allocations: 101.9 kB / 16.35 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.001744/0.001744, allocations: 194.2 kB / 17.29 MB, free: 5.93 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.323/1.323, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.73/1.73, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001424/0.001424, allocations: 67.91 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2171, allocations: 114.5 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.5297/0.7469, allocations: 161.6 MB / 0.9426 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002846/0.7498, allocations: 1.739 MB / 0.9443 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.75, allocations: 15.88 kB / 0.9443 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005194/0.7505, allocations: 154.9 kB / 0.9445 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.7518, allocations: 0.5298 MB / 0.945 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009776/0.7527, allocations: 402.9 kB / 0.9454 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00252/0.7553, allocations: 2.522 MB / 0.9478 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.7564, allocations: 0.9272 MB / 0.9487 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.7579, allocations: 1.028 MB / 0.9497 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008239/0.7587, allocations: 0.7039 MB / 0.9504 GB, free: 348 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.7589, allocations: 56 kB / 0.9505 GB, free: 292 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.7603, allocations: 0.7484 MB / 0.9512 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003055/0.7606, allocations: 306.9 kB / 0.9515 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005917/0.7612, allocations: 0.5341 MB / 0.952 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.7627, allocations: 1.402 MB / 0.9534 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7627, allocations: 7.938 kB / 0.9534 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7627, allocations: 0 / 0.9534 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.7627, allocations: 4 kB / 0.9534 GB, free: 13.29 MB / 0.7481 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.002205/0.7649, allocations: 1.445 MB / 0.9548 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.765, allocations: 8.031 kB / 0.9548 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007652/0.7658, allocations: 190.5 kB / 0.955 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.7671, allocations: 0.8021 MB / 0.9558 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/0.7671, allocations: 41 kB / 0.9558 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.325e-05/0.7672, allocations: 64 kB / 0.9559 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.7684, allocations: 0.7926 MB / 0.9567 GB, free: 9.758 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.7684, allocations: 3.938 kB / 0.9567 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/0.7685, allocations: 24 kB / 0.9567 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.7685, allocations: 12 kB / 0.9567 GB, free: 9.719 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009103/0.7694, allocations: 0.5422 MB / 0.9572 GB, free: 9.172 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.003955/0.7734, allocations: 4.588 MB / 0.9617 GB, free: 4.203 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006993/0.7741, allocations: 412.3 kB / 0.9621 GB, free: 3.793 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/0.7745, allocations: 248.7 kB / 0.9623 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002877/0.7748, allocations: 198.2 kB / 0.9625 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004752/0.7753, allocations: 291.2 kB / 0.9628 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/0.7753, allocations: 0 / 0.9628 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31): time 0.001309/0.7766, allocations: 0.6369 MB / 0.9634 GB, free: 2.375 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.7766, allocations: 81.11 kB / 0.9635 GB, free: 2.277 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.7779, allocations: 1.121 MB / 0.9646 GB, free: 1.137 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.778, allocations: 33.7 kB / 0.9646 GB, free: 1.098 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/0.7783, allocations: 488.1 kB / 0.9651 GB, free: 0.6172 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.928e-05/0.7784, allocations: 114.5 kB / 0.9652 GB, free: 0.5039 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.7786, allocations: 113.9 kB / 0.9653 GB, free: 396 kB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.7787, allocations: 329.9 kB / 0.9656 GB, free: 60 kB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003892/0.7791, allocations: 219.6 kB / 0.9658 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006004/0.7797, allocations: 0.5137 MB / 0.9663 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008928/0.7806, allocations: 0.6273 MB / 0.967 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7806, allocations: 3.938 kB / 0.967 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001188/0.7818, allocations: 0.7219 MB / 0.9677 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.7819, allocations: 37.8 kB / 0.9677 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.7819, allocations: 8 kB / 0.9677 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.7819, allocations: 8 kB / 0.9677 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.7824, allocations: 107.8 kB / 0.9678 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.7824, allocations: 8 kB / 0.9678 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005685/0.7829, allocations: 75.48 kB / 0.9679 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/0.783, allocations: 31.98 kB / 0.9679 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006602/0.7837, allocations: 0.4961 MB / 0.9684 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005385/0.7842, allocations: 0.4905 MB / 0.9689 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007328/0.785, allocations: 0.5575 MB / 0.9694 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.384e-06/0.785, allocations: 0 / 0.9694 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.000999/0.786, allocations: 0.638 MB / 0.9701 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.786, allocations: 45.69 kB / 0.9701 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.786, allocations: 4.656 kB / 0.9701 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/0.7861, allocations: 8 kB / 0.9701 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.7864, allocations: 107.8 kB / 0.9702 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.7864, allocations: 8 kB / 0.9702 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005513/0.787, allocations: 64.03 kB / 0.9703 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.787, allocations: 23.98 kB / 0.9703 GB, free: 10.81 MB / 0.7637 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.0001699/0.7872, allocations: 225.8 kB / 0.9705 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.7874, allocations: 94.97 kB / 0.9706 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008456/0.7882, allocations: 0.4911 MB / 0.9711 GB, free: 9.992 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.7882, allocations: 4 kB / 0.9711 GB, free: 9.988 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7882, allocations: 0 / 0.9711 GB, free: 9.988 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7882, allocations: 0 / 0.9711 GB, free: 9.988 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.7901, allocations: 1.383 MB / 0.9724 GB, free: 8.527 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.7901, allocations: 1.969 kB / 0.9725 GB, free: 8.527 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.7904, allocations: 68.11 kB / 0.9725 GB, free: 8.461 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.7904, allocations: 7.938 kB / 0.9725 GB, free: 8.453 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.7904, allocations: 8 kB / 0.9725 GB, free: 8.445 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.7904, allocations: 4 kB / 0.9725 GB, free: 8.441 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.7904, allocations: 3.938 kB / 0.9725 GB, free: 8.438 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008383/0.7913, allocations: 0.595 MB / 0.9731 GB, free: 7.805 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/0.7916, allocations: 219.8 kB / 0.9733 GB, free: 7.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.612e-05/0.7917, allocations: 11.94 kB / 0.9733 GB, free: 7.559 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.7921, allocations: 19.98 kB / 0.9734 GB, free: 7.539 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.658e-05/0.7922, allocations: 35.89 kB / 0.9734 GB, free: 7.504 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.7922, allocations: 12 kB / 0.9734 GB, free: 7.492 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009166/0.7931, allocations: 0.7875 MB / 0.9742 GB, free: 6.695 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7931, allocations: 0 / 0.9742 GB, free: 6.695 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001045/0.7942, allocations: 407.4 kB / 0.9746 GB, free: 6.297 MB / 0.7637 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.0004122/0.7946, allocations: 183.2 kB / 0.9747 GB, free: 6.121 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001345/0.796, allocations: 0.8057 MB / 0.9755 GB, free: 5.293 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.796, allocations: 0 / 0.9755 GB, free: 5.293 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003814/0.7964, allocations: 205 kB / 0.9757 GB, free: 5.094 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.7982, allocations: 458.4 kB / 0.9762 GB, free: 4.695 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.8011, allocations: 1.738 MB / 0.9779 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009334/0.802, allocations: 1.184 MB / 0.979 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00106/0.8031, allocations: 399.2 kB / 0.9794 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.8033, allocations: 79.42 kB / 0.9795 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of SimCode: time 8.92e-07/0.8033, allocations: 0 / 0.9795 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of Templates: time 0.02676/0.8301, allocations: 17.07 MB / 0.9961 GB, free: 496 kB / 0.7794 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)