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.0007412/0.0007412, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008862/0.0008862, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.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.599/1.599, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0004753/0.0004754, allocations: 12.62 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2025, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.5544/0.757, allocations: 146.7 MB / 0.9306 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004039/0.7611, allocations: 3.357 MB / 0.9339 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003529/0.7615, allocations: 12.55 kB / 0.9339 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000468/0.7619, allocations: 106.5 kB / 0.934 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.7631, allocations: 395.2 kB / 0.9344 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.7642, allocations: 373.3 kB / 0.9347 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002818/0.767, allocations: 3.018 MB / 0.9377 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002638/0.7697, allocations: 2.156 MB / 0.9398 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002/0.7717, allocations: 0.8721 MB / 0.9406 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.7728, allocations: 0.7009 MB / 0.9413 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.7729, allocations: 38.16 kB / 0.9413 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.7742, allocations: 0.56 MB / 0.9419 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.7746, allocations: 278.2 kB / 0.9422 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000613/0.7752, allocations: 230.9 kB / 0.9424 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.7765, allocations: 1.036 MB / 0.9434 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.7766, allocations: 0.5 kB / 0.9434 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7766, allocations: 0.5 kB / 0.9434 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.091e-05/0.7766, allocations: 0 / 0.9434 GB, free: 20.82 MB / 0.7325 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.002059/0.7787, allocations: 1.341 MB / 0.9447 GB, free: 20.01 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.7787, allocations: 9.094 kB / 0.9447 GB, free: 20.01 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000739/0.7795, allocations: 185.9 kB / 0.9449 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.7808, allocations: 0.8099 MB / 0.9457 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.383e-05/0.7808, allocations: 45.84 kB / 0.9457 GB, free: 19.6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.521e-05/0.7809, allocations: 56.69 kB / 0.9458 GB, free: 19.6 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.782, allocations: 0.8196 MB / 0.9466 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.7821, allocations: 6.094 kB / 0.9466 GB, free: 19.35 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.328e-05/0.7821, allocations: 28.77 kB / 0.9466 GB, free: 19.35 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.7821, allocations: 15.55 kB / 0.9466 GB, free: 19.35 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008454/0.783, allocations: 0.5671 MB / 0.9472 GB, free: 19.33 MB / 0.7325 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.003538/0.7865, allocations: 4.261 MB / 0.9513 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.7872, allocations: 447.7 kB / 0.9518 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004265/0.7876, allocations: 354.3 kB / 0.9521 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002756/0.7879, allocations: 196.5 kB / 0.9523 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004663/0.7884, allocations: 330.7 kB / 0.9526 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002624/0.7887, allocations: 37.41 kB / 0.9526 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.7887, allocations: 0 / 0.9526 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001244/0.7899, allocations: 0.7126 MB / 0.9533 GB, free: 16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.79, allocations: 83.88 kB / 0.9534 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.7912, allocations: 1.148 MB / 0.9545 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.7913, allocations: 37.92 kB / 0.9546 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.7916, allocations: 488.1 kB / 0.955 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.732e-05/0.7917, allocations: 118.2 kB / 0.9551 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/0.7917, allocations: 10.69 kB / 0.9552 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.7918, allocations: 325.8 kB / 0.9555 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/0.7922, allocations: 209.3 kB / 0.9557 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.7926, allocations: 0.5159 MB / 0.9562 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/0.7931, allocations: 321.9 kB / 0.9565 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.7931, allocations: 5.969 kB / 0.9565 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001061/0.7941, allocations: 0.7299 MB / 0.9572 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.7943, allocations: 281 kB / 0.9575 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.7943, allocations: 11.88 kB / 0.9575 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.7943, allocations: 9.594 kB / 0.9575 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000456/0.7948, allocations: 118.9 kB / 0.9576 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.7948, allocations: 8.094 kB / 0.9576 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007598/0.7956, allocations: 89.05 kB / 0.9577 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.272e-05/0.7956, allocations: 23.34 kB / 0.9577 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/0.7956, allocations: 5.828 kB / 0.9577 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008162/0.7965, allocations: 0.5876 MB / 0.9583 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.7965, allocations: 9.5 kB / 0.9583 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.7965, allocations: 8.25 kB / 0.9583 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.7969, allocations: 115.5 kB / 0.9584 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.7969, allocations: 18.39 kB / 0.9584 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006618/0.7976, allocations: 84.02 kB / 0.9585 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.7976, allocations: 21.97 kB / 0.9585 GB, free: 14.14 MB / 0.7325 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005337/0.7982, allocations: 477.3 kB / 0.959 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.7983, allocations: 104.8 kB / 0.9591 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008546/0.7991, allocations: 0.5515 MB / 0.9596 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.7992, allocations: 6.375 kB / 0.9596 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7992, allocations: 1.375 kB / 0.9596 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.7992, allocations: 0 / 0.9596 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.8011, allocations: 1.514 MB / 0.9611 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.8011, allocations: 2.625 kB / 0.9611 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.8014, allocations: 70.66 kB / 0.9612 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.8014, allocations: 7.375 kB / 0.9612 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.8015, allocations: 12.08 kB / 0.9612 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.8015, allocations: 3.625 kB / 0.9612 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8015, allocations: 3.859 kB / 0.9612 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008139/0.8023, allocations: 0.6719 MB / 0.9619 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.8027, allocations: 233.6 kB / 0.9621 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.8028, allocations: 10.47 kB / 0.9621 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/0.8033, allocations: 71.61 kB / 0.9622 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.8034, allocations: 28.97 kB / 0.9622 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.8034, allocations: 18.62 kB / 0.9622 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009008/0.8043, allocations: 0.8118 MB / 0.963 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8044, allocations: 1.969 kB / 0.963 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001153/0.8055, allocations: 424.8 kB / 0.9634 GB, free: 12.77 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000371/0.8059, allocations: 177.1 kB / 0.9636 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.8071, allocations: 0.8816 MB / 0.9644 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.8071, allocations: 0 / 0.9644 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.8074, allocations: 236.1 kB / 0.9647 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/0.8101, allocations: 0.6348 MB / 0.9653 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.8127, allocations: 1.981 MB / 0.9672 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000798/0.8136, allocations: 1.178 MB / 0.9684 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001194/0.8148, allocations: 444.5 kB / 0.9688 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.815, allocations: 73.67 kB / 0.9689 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of SimCode: time 1.122e-06/0.815, allocations: 0 / 0.9689 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of Templates: time 0.02785/0.8428, allocations: 18.64 MB / 0.9871 GB, free: 1.457 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: