Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001097, allocations: 111 kB / 16.37 MB, free: 6.02 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.001063/0.001063, allocations: 193.5 kB / 17.31 MB, free: 5.617 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.268/1.268, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.735/1.735, allocations: 292.3 MB / 0.5496 GB, free: 17.75 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.001428/0.001428, allocations: 68.64 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1999, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.4565/0.6565, allocations: 161.6 MB / 0.9426 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002874/0.6594, allocations: 1.751 MB / 0.9443 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003383/0.6597, allocations: 11.94 kB / 0.9444 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005351/0.6603, allocations: 158.9 kB / 0.9445 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.6616, allocations: 0.5211 MB / 0.945 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.6627, allocations: 399.5 kB / 0.9454 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002696/0.6654, allocations: 2.552 MB / 0.9479 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002811/0.6682, allocations: 2.401 MB / 0.9502 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.6699, allocations: 1.039 MB / 0.9512 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.671, allocations: 0.7117 MB / 0.9519 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.6712, allocations: 60.56 kB / 0.952 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.6726, allocations: 0.7406 MB / 0.9527 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003742/0.673, allocations: 318.8 kB / 0.953 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007593/0.6737, allocations: 0.5479 MB / 0.9536 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.6753, allocations: 1.417 MB / 0.9549 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.6753, allocations: 8.781 kB / 0.955 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6753, allocations: 0 / 0.955 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.862e-05/0.6754, allocations: 4 kB / 0.955 GB, free: 11.82 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.002275/0.6776, allocations: 1.446 MB / 0.9564 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.6777, allocations: 15.97 kB / 0.9564 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007213/0.6784, allocations: 182.5 kB / 0.9566 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.6797, allocations: 0.8528 MB / 0.9574 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.502e-05/0.6797, allocations: 45 kB / 0.9574 GB, free: 9.164 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.123e-05/0.6798, allocations: 56 kB / 0.9575 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.681, allocations: 0.8257 MB / 0.9583 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.681, allocations: 7.938 kB / 0.9583 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.157e-05/0.6811, allocations: 20 kB / 0.9583 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.6811, allocations: 19.98 kB / 0.9583 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009366/0.682, allocations: 0.5696 MB / 0.9589 GB, free: 7.59 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.003569/0.6856, allocations: 4.196 MB / 0.963 GB, free: 3.129 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007373/0.6864, allocations: 455.7 kB / 0.9634 GB, free: 2.676 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004924/0.6869, allocations: 347.5 kB / 0.9638 GB, free: 2.336 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/0.6872, allocations: 198.1 kB / 0.9639 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004999/0.6877, allocations: 313.6 kB / 0.9642 GB, free: 1.785 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001437/0.6879, allocations: 35.59 kB / 0.9643 GB, free: 1.75 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 2.204e-06/0.6879, allocations: 4 kB / 0.9643 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.00492/0.6928, allocations: 1.659 MB / 0.9659 GB, free: 84 kB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.6929, allocations: 85.11 kB / 0.966 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.6941, allocations: 1.154 MB / 0.9671 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.6942, allocations: 33.7 kB / 0.9671 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.6946, allocations: 484.4 kB / 0.9676 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.36e-05/0.6947, allocations: 118.4 kB / 0.9677 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.6948, allocations: 118 kB / 0.9678 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.6949, allocations: 326 kB / 0.9681 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004127/0.6954, allocations: 234.9 kB / 0.9684 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.696, allocations: 0.5423 MB / 0.9689 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009141/0.6969, allocations: 0.6878 MB / 0.9696 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.6969, allocations: 0 / 0.9696 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002172/0.6991, allocations: 1.095 MB / 0.9706 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.6991, allocations: 42.31 kB / 0.9707 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.6992, allocations: 8 kB / 0.9707 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.7004, allocations: 368.9 kB / 0.971 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.7008, allocations: 90.11 kB / 0.9711 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.7018, allocations: 1.032 MB / 0.9721 GB, free: 9.418 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007259/0.7026, allocations: 60 kB / 0.9722 GB, free: 9.359 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.203e-05/0.7026, allocations: 27.98 kB / 0.9722 GB, free: 9.332 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006822/0.7033, allocations: 0.5125 MB / 0.9727 GB, free: 8.816 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005633/0.7039, allocations: 0.5096 MB / 0.9732 GB, free: 8.176 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007869/0.7047, allocations: 0.6037 MB / 0.9738 GB, free: 7.492 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.897e-06/0.7047, allocations: 4 kB / 0.9738 GB, free: 7.488 MB / 0.7637 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001489/0.7062, allocations: 0.8968 MB / 0.9747 GB, free: 6.574 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.7062, allocations: 33.7 kB / 0.9747 GB, free: 6.535 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.7063, allocations: 8.031 kB / 0.9747 GB, free: 6.527 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005609/0.7068, allocations: 240.6 kB / 0.975 GB, free: 6.289 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.7072, allocations: 99.73 kB / 0.975 GB, free: 6.191 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003583/0.7108, allocations: 3.261 MB / 0.9782 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000753/0.7115, allocations: 64.25 kB / 0.9783 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.7116, allocations: 20 kB / 0.9783 GB, free: 2.715 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * 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 {(1,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.7118, allocations: 230.6 kB / 0.9785 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.7119, allocations: 106.6 kB / 0.9786 GB, free: 2.379 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.7133, allocations: 0.7625 MB / 0.9794 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.7133, allocations: 11.92 kB / 0.9794 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7133, allocations: 1.406 kB / 0.9794 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002893/0.7136, allocations: 219.8 kB / 0.9796 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.7137, allocations: 11.19 kB / 0.9796 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005236/0.7142, allocations: 35.94 kB / 0.9796 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.484e-05/0.7143, allocations: 47.92 kB / 0.9797 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001562/0.7159, allocations: 0.8438 MB / 0.9805 GB, free: 444 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001244/0.7172, allocations: 0.9944 MB / 0.9815 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003462/0.7175, allocations: 212.4 kB / 0.9817 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009419/0.7185, allocations: 0.8119 MB / 0.9825 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of Backend: time 2.21e-07/0.7185, allocations: 0 / 0.9825 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002587/0.7211, allocations: 1.193 MB / 0.9836 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of SimCode: time 0.003745/0.7248, allocations: 2.71 MB / 0.9863 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of Templates: time 0.03235/0.7572, allocations: 21.61 MB / 1.007 GB, free: 5.121 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)