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.001519/0.001519, allocations: 110.2 kB / 16.38 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.001825/0.001825, allocations: 189.4 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.323/1.323, 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.756/1.756, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001531/0.001531, allocations: 72.47 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1913, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4755/0.6668, allocations: 161.6 MB / 0.9426 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002755/0.6696, allocations: 1.756 MB / 0.9443 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.6699, allocations: 11.94 kB / 0.9444 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.6704, allocations: 154.9 kB / 0.9445 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.6715, allocations: 0.525 MB / 0.945 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009381/0.6725, allocations: 397.9 kB / 0.9454 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002392/0.6749, allocations: 2.525 MB / 0.9479 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.6759, allocations: 0.9291 MB / 0.9488 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.6772, allocations: 1.024 MB / 0.9498 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007346/0.678, allocations: 0.7078 MB / 0.9505 GB, free: 440 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.331e-05/0.6781, allocations: 56 kB / 0.9505 GB, free: 384 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.6792, allocations: 0.7406 MB / 0.9512 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002826/0.6795, allocations: 310.9 kB / 0.9515 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005248/0.6801, allocations: 0.544 MB / 0.9521 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.6814, allocations: 1.398 MB / 0.9534 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6814, allocations: 4 kB / 0.9534 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6814, allocations: 0 / 0.9534 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.6814, allocations: 4 kB / 0.9534 GB, free: 13.38 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.002183/0.6836, allocations: 1.441 MB / 0.9548 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.6837, allocations: 8.031 kB / 0.9548 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007785/0.6844, allocations: 190.5 kB / 0.955 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.6858, allocations: 0.8489 MB / 0.9559 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.6858, allocations: 45.66 kB / 0.9559 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-05/0.6859, allocations: 60 kB / 0.956 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.6871, allocations: 0.7965 MB / 0.9567 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.6871, allocations: 7.984 kB / 0.9567 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.075e-05/0.6871, allocations: 20 kB / 0.9568 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.6872, allocations: 20 kB / 0.9568 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009377/0.6881, allocations: 0.5305 MB / 0.9573 GB, free: 9.219 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.003746/0.6919, allocations: 4.593 MB / 0.9618 GB, free: 4.246 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/0.6926, allocations: 419 kB / 0.9622 GB, free: 3.828 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003808/0.693, allocations: 240.7 kB / 0.9624 GB, free: 3.59 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/0.6933, allocations: 198.2 kB / 0.9626 GB, free: 3.359 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004939/0.6938, allocations: 295.2 kB / 0.9629 GB, free: 3.055 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=31): time 2.244e-06/0.6938, allocations: 0 / 0.9629 GB, free: 3.055 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31): time 0.001325/0.6952, allocations: 0.6328 MB / 0.9635 GB, free: 2.418 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.6952, allocations: 85.05 kB / 0.9636 GB, free: 2.316 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.6964, allocations: 1.118 MB / 0.9647 GB, free: 1.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.6965, allocations: 33.92 kB / 0.9647 GB, free: 1.141 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/0.6968, allocations: 496.1 kB / 0.9652 GB, free: 0.6523 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.821e-05/0.6969, allocations: 114.4 kB / 0.9653 GB, free: 0.5391 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.6971, allocations: 109.9 kB / 0.9654 GB, free: 436 kB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.6972, allocations: 325.9 kB / 0.9657 GB, free: 104 kB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.6976, allocations: 214.5 kB / 0.9659 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000609/0.6982, allocations: 0.5213 MB / 0.9664 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008682/0.6991, allocations: 0.6234 MB / 0.967 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.6991, allocations: 4 kB / 0.967 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001136/0.7003, allocations: 0.7231 MB / 0.9677 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.7003, allocations: 38.62 kB / 0.9678 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.7003, allocations: 4 kB / 0.9678 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.7003, allocations: 8 kB / 0.9678 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/0.7008, allocations: 108.3 kB / 0.9679 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.7008, allocations: 19.92 kB / 0.9679 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/0.7014, allocations: 68.31 kB / 0.968 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.7014, allocations: 27.98 kB / 0.968 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000632/0.7021, allocations: 0.4889 MB / 0.9685 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005201/0.7026, allocations: 496.7 kB / 0.969 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007407/0.7033, allocations: 0.5655 MB / 0.9695 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.997e-06/0.7034, allocations: 8 kB / 0.9695 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009784/0.7043, allocations: 0.6424 MB / 0.9701 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.7044, allocations: 37.7 kB / 0.9702 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.7044, allocations: 4 kB / 0.9702 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.193e-06/0.7044, allocations: 8 kB / 0.9702 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.7048, allocations: 99.81 kB / 0.9703 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.7048, allocations: 13.34 kB / 0.9703 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.7054, allocations: 78.92 kB / 0.9704 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.7054, allocations: 25.33 kB / 0.9704 GB, free: 10.84 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.0001493/0.7056, allocations: 217.9 kB / 0.9706 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.7057, allocations: 98.78 kB / 0.9707 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008469/0.7065, allocations: 489.9 kB / 0.9712 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.7065, allocations: 4 kB / 0.9712 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.7066, allocations: 4 kB / 0.9712 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.7068, allocations: 211.8 kB / 0.9714 GB, free: 9.805 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.7069, allocations: 4 kB / 0.9714 GB, free: 9.801 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/0.7073, allocations: 27.91 kB / 0.9714 GB, free: 9.773 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.7074, allocations: 23.97 kB / 0.9714 GB, free: 9.75 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008959/0.7083, allocations: 0.5702 MB / 0.972 GB, free: 9.176 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007987/0.7091, allocations: 0.7053 MB / 0.9727 GB, free: 8.453 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002952/0.7094, allocations: 175.8 kB / 0.9728 GB, free: 8.281 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000886/0.7103, allocations: 0.7922 MB / 0.9736 GB, free: 7.48 MB / 0.7637 GB Notification: Performance of Backend: time 3.81e-07/0.7103, allocations: 4 kB / 0.9736 GB, free: 7.477 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001944/0.7123, allocations: 0.8812 MB / 0.9745 GB, free: 6.578 MB / 0.7637 GB Notification: Performance of SimCode: time 0.003524/0.7158, allocations: 2.458 MB / 0.9769 GB, free: 4.113 MB / 0.7637 GB Notification: Performance of Templates: time 0.02774/0.7436, allocations: 18.76 MB / 0.9952 GB, free: 1.656 MB / 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)