Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 106.1 kB / 16.36 MB, free: 6.301 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.001214/0.001214, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.322/1.322, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.782/1.782, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001593/0.001593, allocations: 67.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2254, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.5665/0.7919, allocations: 161.6 MB / 0.9426 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00517/0.7972, allocations: 3.611 MB / 0.9461 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004401/0.7976, allocations: 11.94 kB / 0.9461 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006406/0.7984, allocations: 162.9 kB / 0.9463 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.7999, allocations: 0.5367 MB / 0.9468 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.8012, allocations: 426.6 kB / 0.9472 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002792/0.804, allocations: 2.571 MB / 0.9497 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002903/0.8069, allocations: 2.412 MB / 0.9521 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002165/0.8091, allocations: 1.043 MB / 0.9531 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.8102, allocations: 0.7117 MB / 0.9538 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.8103, allocations: 60 kB / 0.9539 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.8119, allocations: 0.7445 MB / 0.9546 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003501/0.8123, allocations: 318.8 kB / 0.9549 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007149/0.813, allocations: 0.5402 MB / 0.9554 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.8147, allocations: 1.425 MB / 0.9568 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8147, allocations: 3.984 kB / 0.9568 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8147, allocations: 0 / 0.9568 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.847e-05/0.8147, allocations: 0 / 0.9568 GB, free: 9.895 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002299/0.817, allocations: 1.453 MB / 0.9582 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.8171, allocations: 12.97 kB / 0.9583 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007837/0.8178, allocations: 198.3 kB / 0.9584 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.8191, allocations: 0.853 MB / 0.9593 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.8192, allocations: 45 kB / 0.9593 GB, free: 7.223 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.278e-05/0.8193, allocations: 60 kB / 0.9594 GB, free: 7.164 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.8205, allocations: 0.8161 MB / 0.9602 GB, free: 6.27 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.8206, allocations: 7.938 kB / 0.9602 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.8206, allocations: 20 kB / 0.9602 GB, free: 6.242 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.8206, allocations: 16 kB / 0.9602 GB, free: 6.227 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009368/0.8216, allocations: 0.5667 MB / 0.9608 GB, free: 5.66 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.004115/0.8257, allocations: 4.199 MB / 0.9649 GB, free: 1.199 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007096/0.8264, allocations: 446.2 kB / 0.9653 GB, free: 0.7539 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004793/0.8269, allocations: 347.1 kB / 0.9656 GB, free: 424 kB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003067/0.8272, allocations: 198.2 kB / 0.9658 GB, free: 188 kB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005343/0.8278, allocations: 328.8 kB / 0.9661 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001931/0.828, allocations: 31.67 kB / 0.9662 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/0.828, allocations: 0 / 0.9662 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of matching and sorting (n=33): time 0.001386/0.8294, allocations: 0.6924 MB / 0.9668 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.8295, allocations: 89.05 kB / 0.9669 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.8308, allocations: 1.151 MB / 0.968 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.8308, allocations: 41.7 kB / 0.9681 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/0.8313, allocations: 484.4 kB / 0.9685 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.51e-05/0.8314, allocations: 118.4 kB / 0.9687 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.8315, allocations: 118 kB / 0.9688 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.8317, allocations: 333.9 kB / 0.9691 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/0.8321, allocations: 230.9 kB / 0.9693 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006522/0.8328, allocations: 0.5435 MB / 0.9698 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009222/0.8337, allocations: 0.6762 MB / 0.9705 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.8337, allocations: 0 / 0.9705 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00122/0.8349, allocations: 0.7669 MB / 0.9713 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.835, allocations: 34.36 kB / 0.9713 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.835, allocations: 4 kB / 0.9713 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.835, allocations: 12 kB / 0.9713 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/0.8356, allocations: 115.8 kB / 0.9714 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.8356, allocations: 11.94 kB / 0.9714 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007751/0.8364, allocations: 63.92 kB / 0.9715 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/0.8364, allocations: 31.23 kB / 0.9715 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007253/0.8372, allocations: 0.5203 MB / 0.972 GB, free: 9.516 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006024/0.8378, allocations: 0.5018 MB / 0.9725 GB, free: 8.883 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008084/0.8386, allocations: 0.5996 MB / 0.9731 GB, free: 8.203 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.8386, allocations: 0 / 0.9731 GB, free: 8.203 MB / 0.7637 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001084/0.8397, allocations: 0.6901 MB / 0.9738 GB, free: 7.5 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.8397, allocations: 38.47 kB / 0.9738 GB, free: 7.457 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8398, allocations: 4.656 kB / 0.9738 GB, free: 7.453 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.054e-06/0.8398, allocations: 8.047 kB / 0.9738 GB, free: 7.445 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/0.8402, allocations: 119.8 kB / 0.9739 GB, free: 7.328 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.8403, allocations: 11.94 kB / 0.9739 GB, free: 7.316 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/0.841, allocations: 68.25 kB / 0.974 GB, free: 7.25 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.8411, allocations: 24 kB / 0.974 GB, free: 7.227 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 (55): * Single equations (assignments): 54 * 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.0001965/0.8413, allocations: 220 kB / 0.9742 GB, free: 7.004 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.8414, allocations: 106.7 kB / 0.9743 GB, free: 6.898 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000973/0.8424, allocations: 0.538 MB / 0.9749 GB, free: 6.359 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.8424, allocations: 4 kB / 0.9749 GB, free: 6.355 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8424, allocations: 0 / 0.9749 GB, free: 6.355 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.8424, allocations: 4 kB / 0.9749 GB, free: 6.352 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.8445, allocations: 1.494 MB / 0.9763 GB, free: 4.781 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.8446, allocations: 7.938 kB / 0.9763 GB, free: 4.773 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.8449, allocations: 67.88 kB / 0.9764 GB, free: 4.707 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.8449, allocations: 4 kB / 0.9764 GB, free: 4.703 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.8449, allocations: 8 kB / 0.9764 GB, free: 4.695 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.845, allocations: 4 kB / 0.9764 GB, free: 4.691 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.845, allocations: 4 kB / 0.9764 GB, free: 4.688 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008972/0.8459, allocations: 0.6634 MB / 0.9771 GB, free: 3.988 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.8462, allocations: 221.5 kB / 0.9773 GB, free: 3.754 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.8463, allocations: 15.98 kB / 0.9773 GB, free: 3.738 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005664/0.8469, allocations: 31.95 kB / 0.9773 GB, free: 3.707 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.847, allocations: 35.95 kB / 0.9774 GB, free: 3.672 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.847, allocations: 15.5 kB / 0.9774 GB, free: 3.66 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009936/0.848, allocations: 0.8199 MB / 0.9782 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.848, allocations: 3.938 kB / 0.9782 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001078/0.8491, allocations: 427.4 kB / 0.9786 GB, free: 2.41 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 (33): * Single equations (assignments): 31 * 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.0004565/0.8496, allocations: 174 kB / 0.9788 GB, free: 2.234 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.8511, allocations: 0.9065 MB / 0.9796 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8511, allocations: 0.6875 kB / 0.9796 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.8515, allocations: 224.6 kB / 0.9799 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.8536, allocations: 0.4893 MB / 0.9803 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/0.8567, allocations: 1.813 MB / 0.9821 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007701/0.8575, allocations: 1.178 MB / 0.9833 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.8577, allocations: 79.44 kB / 0.9833 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of SimCode: time 7.92e-07/0.8578, allocations: 0 / 0.9833 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.02571/0.8835, allocations: 16.55 MB / 0.9995 GB, free: 13.18 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)