Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 115.1 kB / 16.38 MB, free: 6.023 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.001009/0.00101, allocations: 188.4 kB / 17.31 MB, free: 5.613 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.265/1.265, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.887/1.887, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001431/0.001431, allocations: 76.11 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.193, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.4706/0.6636, allocations: 167.8 MB / 0.9486 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005138/0.6688, allocations: 4.053 MB / 0.9526 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002927/0.6691, allocations: 15.94 kB / 0.9526 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0006526/0.6698, allocations: 238.5 kB / 0.9528 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.6713, allocations: 0.6727 MB / 0.9535 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.6724, allocations: 485 kB / 0.954 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002799/0.6752, allocations: 2.782 MB / 0.9567 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002774/0.678, allocations: 2.554 MB / 0.9592 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.6799, allocations: 1.273 MB / 0.9604 GB, free: 6.289 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.681, allocations: 0.8676 MB / 0.9613 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.6811, allocations: 73.97 kB / 0.9613 GB, free: 5.348 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.6825, allocations: 0.8186 MB / 0.9621 GB, free: 4.527 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003568/0.6828, allocations: 362.8 kB / 0.9625 GB, free: 4.172 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006629/0.6835, allocations: 0.6179 MB / 0.9631 GB, free: 3.551 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.6851, allocations: 1.624 MB / 0.9647 GB, free: 1.922 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6851, allocations: 0 / 0.9647 GB, free: 1.922 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6851, allocations: 0 / 0.9647 GB, free: 1.922 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.6851, allocations: 0 / 0.9647 GB, free: 1.922 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002547/0.6877, allocations: 1.618 MB / 0.9662 GB, free: 248 kB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.6877, allocations: 12.03 kB / 0.9663 GB, free: 236 kB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008059/0.6886, allocations: 205.6 kB / 0.9665 GB, free: 32 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.69, allocations: 0.9358 MB / 0.9674 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.69, allocations: 53.31 kB / 0.9674 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.6901, allocations: 60 kB / 0.9675 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.6916, allocations: 0.987 MB / 0.9684 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.6916, allocations: 11.94 kB / 0.9684 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.489e-05/0.6917, allocations: 20 kB / 0.9685 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.6917, allocations: 16 kB / 0.9685 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.693, allocations: 0.796 MB / 0.9693 GB, free: 13.03 MB / 0.7637 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.004275/0.6973, allocations: 4.754 MB / 0.9739 GB, free: 7.938 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002423/0.6997, allocations: 4.01 MB / 0.9778 GB, free: 3.098 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004984/0.7002, allocations: 354.8 kB / 0.9782 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002851/0.7005, allocations: 190.5 kB / 0.9783 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005361/0.7011, allocations: 327.1 kB / 0.9787 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002313/0.7013, allocations: 31.69 kB / 0.9787 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=35): time 2.155e-06/0.7013, allocations: 4 kB / 0.9787 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of matching and sorting (n=35): time 0.005266/0.7066, allocations: 1.732 MB / 0.9804 GB, free: 428 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.7066, allocations: 81.11 kB / 0.9805 GB, free: 328 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.7081, allocations: 1.185 MB / 0.9816 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.7081, allocations: 45.69 kB / 0.9817 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000415/0.7085, allocations: 0.5083 MB / 0.9822 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.85e-05/0.7086, allocations: 118.3 kB / 0.9823 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.7088, allocations: 122 kB / 0.9824 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.7089, allocations: 324.2 kB / 0.9827 GB, free: 14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.7094, allocations: 242.8 kB / 0.9829 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006437/0.71, allocations: 0.5644 MB / 0.9835 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009499/0.711, allocations: 0.6828 MB / 0.9841 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.711, allocations: 4 kB / 0.9841 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002358/0.7134, allocations: 1.129 MB / 0.9852 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.7134, allocations: 37.64 kB / 0.9853 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.7134, allocations: 8 kB / 0.9853 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/0.7148, allocations: 395.7 kB / 0.9857 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.7151, allocations: 67.89 kB / 0.9857 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.7162, allocations: 1.058 MB / 0.9868 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007857/0.717, allocations: 63.91 kB / 0.9868 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.7171, allocations: 27.94 kB / 0.9869 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007259/0.7178, allocations: 0.5321 MB / 0.9874 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005901/0.7184, allocations: 0.5173 MB / 0.9879 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008239/0.7193, allocations: 0.6071 MB / 0.9885 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.7193, allocations: 0 / 0.9885 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001572/0.7209, allocations: 0.9216 MB / 0.9894 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.7209, allocations: 33.7 kB / 0.9894 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7209, allocations: 4 kB / 0.9894 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/0.7215, allocations: 251.8 kB / 0.9896 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.7218, allocations: 84.5 kB / 0.9897 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003784/0.7256, allocations: 3.335 MB / 0.993 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008208/0.7265, allocations: 75.97 kB / 0.9931 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.7265, allocations: 20 kB / 0.9931 GB, free: 2.746 MB / 0.7794 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.000206/0.7267, allocations: 224.6 kB / 0.9933 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.7269, allocations: 106.7 kB / 0.9934 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.7283, allocations: 0.8122 MB / 0.9942 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.7284, allocations: 0 / 0.9942 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7284, allocations: 8.078 kB / 0.9942 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/0.7287, allocations: 223.8 kB / 0.9944 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.7288, allocations: 11.98 kB / 0.9944 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005685/0.7294, allocations: 39.94 kB / 0.9945 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.7295, allocations: 59.8 kB / 0.9945 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00159/0.7311, allocations: 0.8503 MB / 0.9953 GB, free: 404 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001293/0.7324, allocations: 1 MB / 0.9963 GB, free: 15.37 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003489/0.7328, allocations: 208.4 kB / 0.9965 GB, free: 15.17 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001002/0.7338, allocations: 0.8407 MB / 0.9973 GB, free: 14.32 MB / 0.795 GB Notification: Performance of Backend: time 4.91e-07/0.7338, allocations: 0 / 0.9973 GB, free: 14.32 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002612/0.7364, allocations: 1.221 MB / 0.9985 GB, free: 13.08 MB / 0.795 GB Notification: Performance of SimCode: time 0.004006/0.7404, allocations: 2.812 MB / 1.001 GB, free: 10.25 MB / 0.795 GB Notification: Performance of Templates: time 0.03458/0.775, allocations: 22.07 MB / 1.023 GB, free: 4.457 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)