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.00159/0.001591, allocations: 100.5 kB / 16.29 MB, free: 6.082 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.001693/0.001693, allocations: 183 kB / 17.22 MB, free: 5.703 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.363/1.363, allocations: 205.1 MB / 223.1 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.799/1.799, allocations: 292.3 MB / 0.5495 GB, free: 17.61 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.001408/0.001408, allocations: 67.03 kB / 0.6722 GB, free: 6.602 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2211, allocations: 114.5 MB / 0.7841 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.5483/0.7695, allocations: 161.6 MB / 0.9419 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003355/0.7729, allocations: 1.744 MB / 0.9436 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003756/0.7733, allocations: 7.938 kB / 0.9436 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005544/0.7739, allocations: 164.4 kB / 0.9438 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.7752, allocations: 0.5289 MB / 0.9443 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.7763, allocations: 401.1 kB / 0.9447 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002582/0.7789, allocations: 2.525 MB / 0.9471 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.7801, allocations: 0.9288 MB / 0.948 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.7819, allocations: 1.035 MB / 0.9491 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008356/0.7827, allocations: 0.6962 MB / 0.9497 GB, free: 1 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.7829, allocations: 56 kB / 0.9498 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.7844, allocations: 0.7445 MB / 0.9505 GB, free: 204 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003369/0.7847, allocations: 307 kB / 0.9508 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000684/0.7854, allocations: 0.5439 MB / 0.9513 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.787, allocations: 1.398 MB / 0.9527 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.787, allocations: 0 / 0.9527 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.483e-06/0.787, allocations: 0 / 0.9527 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.787, allocations: 4 kB / 0.9527 GB, free: 13.95 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.002209/0.7892, allocations: 1.452 MB / 0.9541 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.7893, allocations: 12.69 kB / 0.9541 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000737/0.79, allocations: 182.5 kB / 0.9543 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.7912, allocations: 0.7982 MB / 0.9551 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.7912, allocations: 49 kB / 0.9551 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.622e-05/0.7913, allocations: 60 kB / 0.9552 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.7925, allocations: 0.7849 MB / 0.956 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.7925, allocations: 11.94 kB / 0.956 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/0.7926, allocations: 17.03 kB / 0.956 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.7926, allocations: 16 kB / 0.956 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000866/0.7935, allocations: 0.5383 MB / 0.9565 GB, free: 9.836 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.003966/0.7974, allocations: 4.583 MB / 0.961 GB, free: 4.871 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006882/0.7981, allocations: 418.3 kB / 0.9614 GB, free: 4.453 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/0.7985, allocations: 244.8 kB / 0.9616 GB, free: 4.211 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/0.7988, allocations: 198.1 kB / 0.9618 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004887/0.7993, allocations: 295.2 kB / 0.9621 GB, free: 3.676 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/0.7994, allocations: 2.062 kB / 0.9621 GB, free: 3.676 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31): time 0.001323/0.8007, allocations: 0.6329 MB / 0.9627 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.8008, allocations: 85.11 kB / 0.9628 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.802, allocations: 1.118 MB / 0.9639 GB, free: 1.801 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.8021, allocations: 33.7 kB / 0.9639 GB, free: 1.762 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/0.8025, allocations: 0.4883 MB / 0.9644 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.539e-05/0.8026, allocations: 110.5 kB / 0.9645 GB, free: 1.16 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.8027, allocations: 109.9 kB / 0.9646 GB, free: 1.047 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.8029, allocations: 325.9 kB / 0.9649 GB, free: 0.7227 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.8033, allocations: 218.4 kB / 0.9651 GB, free: 0.5078 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/0.8039, allocations: 0.5135 MB / 0.9656 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008605/0.8048, allocations: 0.6352 MB / 0.9663 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.8048, allocations: 4 kB / 0.9663 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001151/0.8059, allocations: 0.7214 MB / 0.967 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/0.806, allocations: 33.7 kB / 0.967 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.806, allocations: 4.625 kB / 0.967 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.806, allocations: 8 kB / 0.967 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/0.8065, allocations: 116.4 kB / 0.9671 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.337e-05/0.8065, allocations: 11.94 kB / 0.9671 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/0.807, allocations: 71.48 kB / 0.9672 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.8071, allocations: 26.5 kB / 0.9672 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006241/0.8077, allocations: 0.5005 MB / 0.9677 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005374/0.8082, allocations: 0.4902 MB / 0.9682 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007036/0.809, allocations: 0.5498 MB / 0.9687 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.007e-06/0.809, allocations: 4 kB / 0.9687 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009664/0.8099, allocations: 0.6422 MB / 0.9694 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.81, allocations: 38.47 kB / 0.9694 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.81, allocations: 8 kB / 0.9694 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.635e-06/0.81, allocations: 4 kB / 0.9694 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.8104, allocations: 107.8 kB / 0.9695 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.8104, allocations: 8.344 kB / 0.9695 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005257/0.8109, allocations: 68.03 kB / 0.9696 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.811, allocations: 31.92 kB / 0.9696 GB, free: 11.46 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.0001663/0.8111, allocations: 217 kB / 0.9698 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.8112, allocations: 98.97 kB / 0.9699 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008379/0.8121, allocations: 490.8 kB / 0.9704 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.8121, allocations: 11.97 kB / 0.9704 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.8121, allocations: 4.75 kB / 0.9704 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8121, allocations: 0 / 0.9704 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.814, allocations: 1.379 MB / 0.9718 GB, free: 9.188 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.814, allocations: 4 kB / 0.9718 GB, free: 9.184 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.8142, allocations: 67.83 kB / 0.9718 GB, free: 9.117 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.8142, allocations: 0 / 0.9718 GB, free: 9.117 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.8143, allocations: 12 kB / 0.9718 GB, free: 9.105 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.8143, allocations: 4.156 kB / 0.9718 GB, free: 9.102 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.8143, allocations: 10.75 kB / 0.9718 GB, free: 9.094 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007926/0.8151, allocations: 0.6028 MB / 0.9724 GB, free: 8.453 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.8154, allocations: 215.7 kB / 0.9726 GB, free: 8.223 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.934e-05/0.8155, allocations: 11.98 kB / 0.9727 GB, free: 8.211 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.8158, allocations: 19.98 kB / 0.9727 GB, free: 8.191 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.8159, allocations: 27.95 kB / 0.9727 GB, free: 8.164 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.816, allocations: 20 kB / 0.9727 GB, free: 8.145 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009213/0.8169, allocations: 0.7836 MB / 0.9735 GB, free: 7.352 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8169, allocations: 0 / 0.9735 GB, free: 7.352 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001047/0.8179, allocations: 407.5 kB / 0.9739 GB, free: 6.953 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.0004023/0.8184, allocations: 172.8 kB / 0.974 GB, free: 6.785 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001345/0.8197, allocations: 0.8173 MB / 0.9748 GB, free: 5.945 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8197, allocations: 0.5 kB / 0.9748 GB, free: 5.945 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003771/0.8201, allocations: 209 kB / 0.975 GB, free: 5.742 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.8218, allocations: 455.4 kB / 0.9755 GB, free: 5.352 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.8243, allocations: 1.726 MB / 0.9772 GB, free: 3.57 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007026/0.825, allocations: 1.188 MB / 0.9783 GB, free: 2.352 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000864/0.8259, allocations: 409.5 kB / 0.9787 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.8261, allocations: 75.42 kB / 0.9788 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of SimCode: time 2.264e-06/0.8261, allocations: 0 / 0.9788 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of Templates: time 0.02808/0.8541, allocations: 17.06 MB / 0.9954 GB, free: 1.141 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)