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.0009199/0.0009199, allocations: 91.61 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.0008079/0.000808, 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.354/1.354, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.682/1.682, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.000512/0.0005121, allocations: 22.78 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2061, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.56/0.7661, allocations: 146.7 MB / 0.9306 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00243/0.7686, allocations: 1.632 MB / 0.9322 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.7689, allocations: 8.25 kB / 0.9322 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004635/0.7693, allocations: 113.4 kB / 0.9323 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.7704, allocations: 392.7 kB / 0.9327 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008659/0.7712, allocations: 328.7 kB / 0.933 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002702/0.7739, allocations: 2.986 MB / 0.9359 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008338/0.7748, allocations: 0.691 MB / 0.9366 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.7762, allocations: 0.8568 MB / 0.9374 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009845/0.7772, allocations: 0.7076 MB / 0.9381 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.541e-05/0.7773, allocations: 33.94 kB / 0.9381 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.7786, allocations: 0.5605 MB / 0.9387 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003005/0.7789, allocations: 282.8 kB / 0.939 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000488/0.7794, allocations: 229.4 kB / 0.9392 GB, free: 21.41 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.7807, allocations: 1.019 MB / 0.9402 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.7807, allocations: 0 / 0.9402 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7807, allocations: 0 / 0.9402 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.7807, allocations: 0.875 kB / 0.9402 GB, free: 21.31 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001897/0.7826, allocations: 1.304 MB / 0.9415 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.7826, allocations: 12.48 kB / 0.9415 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007377/0.7834, allocations: 184.6 kB / 0.9416 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.7848, allocations: 0.7947 MB / 0.9424 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.7849, allocations: 45.22 kB / 0.9425 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.785, allocations: 63.41 kB / 0.9425 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.7862, allocations: 0.7903 MB / 0.9433 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.7862, allocations: 6.656 kB / 0.9433 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.954e-05/0.7863, allocations: 24.66 kB / 0.9433 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.7863, allocations: 17.09 kB / 0.9433 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000797/0.7871, allocations: 0.5405 MB / 0.9439 GB, free: 19.82 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.00347/0.7906, allocations: 4.61 MB / 0.9484 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006096/0.7912, allocations: 426.1 kB / 0.9488 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/0.7915, allocations: 253.4 kB / 0.949 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/0.7918, allocations: 199.5 kB / 0.9492 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004158/0.7922, allocations: 292.5 kB / 0.9495 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.7922, allocations: 0 / 0.9495 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.001166/0.7934, allocations: 0.6492 MB / 0.9501 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.7935, allocations: 85.31 kB / 0.9502 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.7947, allocations: 1.114 MB / 0.9513 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.438e-05/0.7947, allocations: 37.8 kB / 0.9513 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/0.795, allocations: 496.2 kB / 0.9518 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.43e-05/0.7951, allocations: 110.9 kB / 0.9519 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.7951, allocations: 6.906 kB / 0.9519 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.7952, allocations: 325.5 kB / 0.9522 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.7955, allocations: 184.6 kB / 0.9524 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004349/0.796, allocations: 0.4991 MB / 0.9529 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.7964, allocations: 289.6 kB / 0.9532 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.7964, allocations: 1 kB / 0.9532 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009671/0.7973, allocations: 0.6837 MB / 0.9538 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.7975, allocations: 283.5 kB / 0.9541 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.7975, allocations: 5.531 kB / 0.9541 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.7975, allocations: 9.188 kB / 0.9541 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.7979, allocations: 114.5 kB / 0.9542 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.7979, allocations: 12.56 kB / 0.9542 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006835/0.7986, allocations: 100.7 kB / 0.9543 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/0.7987, allocations: 28.81 kB / 0.9544 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/0.7987, allocations: 4.312 kB / 0.9544 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007695/0.7994, allocations: 0.5366 MB / 0.9549 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7995, allocations: 4.469 kB / 0.9549 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.517e-06/0.7995, allocations: 13.41 kB / 0.9549 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.7998, allocations: 105.7 kB / 0.955 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.7998, allocations: 10.48 kB / 0.955 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/0.8004, allocations: 97.86 kB / 0.9551 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.8004, allocations: 25.2 kB / 0.9551 GB, free: 14.05 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 (53): * Single equations (assignments): 52 * 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.0004425/0.8009, allocations: 476.5 kB / 0.9556 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.903e-05/0.801, allocations: 97.09 kB / 0.9557 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008029/0.8018, allocations: 0.4984 MB / 0.9562 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.8018, allocations: 4.406 kB / 0.9562 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.8018, allocations: 4 kB / 0.9562 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.8018, allocations: 4.891 kB / 0.9562 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.8036, allocations: 1.392 MB / 0.9575 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.8036, allocations: 3.812 kB / 0.9575 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.8038, allocations: 66.42 kB / 0.9576 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.8038, allocations: 9.312 kB / 0.9576 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.8039, allocations: 10.31 kB / 0.9576 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.8039, allocations: 4.125 kB / 0.9576 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.8039, allocations: 1.375 kB / 0.9576 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006968/0.8046, allocations: 0.6173 MB / 0.9582 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.8048, allocations: 219.2 kB / 0.9584 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.8049, allocations: 18.83 kB / 0.9585 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/0.8054, allocations: 49.36 kB / 0.9585 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.8054, allocations: 36.77 kB / 0.9585 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.8055, allocations: 12.56 kB / 0.9585 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008733/0.8064, allocations: 0.7846 MB / 0.9593 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.042e-06/0.8064, allocations: 0 / 0.9593 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001102/0.8075, allocations: 410.5 kB / 0.9597 GB, free: 12.69 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 (31): * Single equations (assignments): 29 * 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.0003728/0.8078, allocations: 187 kB / 0.9599 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001171/0.809, allocations: 0.804 MB / 0.9607 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.809, allocations: 0 / 0.9607 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.8094, allocations: 209.9 kB / 0.9609 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.8111, allocations: 457 kB / 0.9613 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.8134, allocations: 1.963 MB / 0.9632 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000618/0.814, allocations: 1.179 MB / 0.9644 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000908/0.8149, allocations: 424 kB / 0.9648 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.8151, allocations: 71.91 kB / 0.9648 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of SimCode: time 3.8e-07/0.8151, allocations: 0 / 0.9648 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of Templates: time 0.02337/0.8385, allocations: 16 MB / 0.9805 GB, free: 3.582 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: