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.001394/0.001394, allocations: 98.61 kB / 16.26 MB, free: 6.418 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.001417/0.001417, allocations: 188.7 kB / 17.2 MB, free: 5.953 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.309/1.309, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.738/1.738, allocations: 292.3 MB / 0.5495 GB, free: 17.68 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.001435/0.001435, allocations: 63.91 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2298, allocations: 114.6 MB / 0.784 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.5385/0.7684, allocations: 161.6 MB / 0.9419 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004737/0.7732, allocations: 3.617 MB / 0.9454 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000388/0.7736, allocations: 15.94 kB / 0.9454 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.7742, allocations: 158.9 kB / 0.9455 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.7756, allocations: 0.5328 MB / 0.9461 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.7768, allocations: 428.4 kB / 0.9465 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002357/0.7792, allocations: 2.558 MB / 0.949 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002546/0.7817, allocations: 2.418 MB / 0.9513 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.7835, allocations: 1.024 MB / 0.9523 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007886/0.7843, allocations: 0.7195 MB / 0.953 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.862e-05/0.7844, allocations: 56 kB / 0.9531 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.7857, allocations: 0.7466 MB / 0.9538 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.786, allocations: 310.9 kB / 0.9541 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00059/0.7866, allocations: 0.5518 MB / 0.9547 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.788, allocations: 1.406 MB / 0.956 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.788, allocations: 0 / 0.956 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.447e-06/0.7881, allocations: 0 / 0.956 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.7881, allocations: 3.938 kB / 0.956 GB, free: 10.37 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.002153/0.7902, allocations: 1.453 MB / 0.9575 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.7903, allocations: 8.031 kB / 0.9575 GB, free: 8.852 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000738/0.791, allocations: 198.4 kB / 0.9577 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.7922, allocations: 0.8023 MB / 0.9584 GB, free: 7.797 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.914e-05/0.7922, allocations: 45 kB / 0.9585 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.307e-05/0.7923, allocations: 56 kB / 0.9585 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.7934, allocations: 0.8206 MB / 0.9593 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.7934, allocations: 7.938 kB / 0.9593 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.136e-05/0.7935, allocations: 20 kB / 0.9594 GB, free: 6.773 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.7935, allocations: 16 kB / 0.9594 GB, free: 6.758 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000863/0.7944, allocations: 0.5617 MB / 0.9599 GB, free: 6.195 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.003631/0.798, allocations: 4.223 MB / 0.964 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006888/0.7987, allocations: 438.2 kB / 0.9645 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004632/0.7992, allocations: 349.2 kB / 0.9648 GB, free: 0.9297 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003073/0.7995, allocations: 203.5 kB / 0.965 GB, free: 0.6953 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000512/0.8, allocations: 320.8 kB / 0.9653 GB, free: 376 kB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002115/0.8003, allocations: 31.69 kB / 0.9653 GB, free: 344 kB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.8003, allocations: 4 kB / 0.9653 GB, free: 340 kB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.001353/0.8016, allocations: 0.6924 MB / 0.966 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.8017, allocations: 81.11 kB / 0.9661 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.8029, allocations: 1.155 MB / 0.9672 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.803, allocations: 37.7 kB / 0.9672 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/0.8034, allocations: 0.4885 MB / 0.9677 GB, free: 13.83 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.875e-05/0.8035, allocations: 118.4 kB / 0.9678 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.8036, allocations: 110.2 kB / 0.9679 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.8037, allocations: 329.9 kB / 0.9683 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.8041, allocations: 230.9 kB / 0.9685 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/0.8047, allocations: 0.5498 MB / 0.969 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00087/0.8056, allocations: 0.6822 MB / 0.9697 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.8056, allocations: 4 kB / 0.9697 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001178/0.8068, allocations: 0.7634 MB / 0.9704 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.314e-05/0.8069, allocations: 33.7 kB / 0.9705 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.8069, allocations: 8.109 kB / 0.9705 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.8069, allocations: 11.94 kB / 0.9705 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005171/0.8074, allocations: 118.2 kB / 0.9706 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.8075, allocations: 8 kB / 0.9706 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007426/0.8082, allocations: 68.11 kB / 0.9707 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/0.8083, allocations: 24 kB / 0.9707 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006707/0.809, allocations: 0.5125 MB / 0.9712 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005234/0.8095, allocations: 0.5096 MB / 0.9717 GB, free: 9.391 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007471/0.8102, allocations: 0.5996 MB / 0.9723 GB, free: 8.711 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.828e-06/0.8103, allocations: 8 kB / 0.9723 GB, free: 8.703 MB / 0.7637 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001022/0.8113, allocations: 0.6931 MB / 0.973 GB, free: 7.996 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.8113, allocations: 37.69 kB / 0.973 GB, free: 7.953 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.8113, allocations: 4 kB / 0.973 GB, free: 7.949 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.128e-06/0.8114, allocations: 8 kB / 0.973 GB, free: 7.941 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.8118, allocations: 111.8 kB / 0.9731 GB, free: 7.832 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/0.8118, allocations: 8 kB / 0.9731 GB, free: 7.824 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007177/0.8126, allocations: 68.41 kB / 0.9732 GB, free: 7.758 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.8126, allocations: 24.75 kB / 0.9732 GB, free: 7.734 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.0001838/0.8128, allocations: 220 kB / 0.9734 GB, free: 7.512 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.8129, allocations: 102.8 kB / 0.9735 GB, free: 7.41 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009419/0.8139, allocations: 0.5425 MB / 0.974 GB, free: 6.863 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.8139, allocations: 4.188 kB / 0.9741 GB, free: 6.859 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8139, allocations: 0 / 0.9741 GB, free: 6.859 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.8139, allocations: 7.922 kB / 0.9741 GB, free: 6.852 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.816, allocations: 1.486 MB / 0.9755 GB, free: 5.289 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.816, allocations: 5.5 kB / 0.9755 GB, free: 5.285 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.8163, allocations: 72.09 kB / 0.9756 GB, free: 5.215 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.8163, allocations: 8 kB / 0.9756 GB, free: 5.207 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.8164, allocations: 11.5 kB / 0.9756 GB, free: 5.199 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.8164, allocations: 4 kB / 0.9756 GB, free: 5.195 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.8164, allocations: 9.516 kB / 0.9756 GB, free: 5.188 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008493/0.8173, allocations: 0.6556 MB / 0.9763 GB, free: 4.496 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.8175, allocations: 219.8 kB / 0.9765 GB, free: 4.262 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.8177, allocations: 11.98 kB / 0.9765 GB, free: 4.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005496/0.8182, allocations: 39.95 kB / 0.9765 GB, free: 4.211 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.8183, allocations: 39.89 kB / 0.9766 GB, free: 4.172 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.8184, allocations: 8 kB / 0.9766 GB, free: 4.164 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009271/0.8193, allocations: 0.8199 MB / 0.9774 GB, free: 3.336 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8193, allocations: 0 / 0.9774 GB, free: 3.336 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00107/0.8204, allocations: 431.3 kB / 0.9778 GB, free: 2.914 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.0004354/0.8208, allocations: 173.1 kB / 0.9779 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.8223, allocations: 0.951 MB / 0.9789 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8223, allocations: 0 / 0.9789 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.8227, allocations: 222.2 kB / 0.9791 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/0.8247, allocations: 0.493 MB / 0.9796 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.8273, allocations: 1.831 MB / 0.9813 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006634/0.828, allocations: 1.186 MB / 0.9825 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.8283, allocations: 83.42 kB / 0.9826 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.8283, allocations: 0 / 0.9826 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.02289/0.8512, allocations: 16.55 MB / 0.9987 GB, free: 13.62 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)