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.0009935/0.0009935, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009904/0.0009905, allocations: 177.3 kB / 15.95 MB, free: 216 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.306/1.306, 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.656/1.656, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0004903/0.0004904, allocations: 14.84 kB / 0.6735 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2141, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.5928/0.807, allocations: 135.7 MB / 0.9196 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003313/0.8103, allocations: 3.096 MB / 0.9227 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002858/0.8106, allocations: 12.66 kB / 0.9227 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006058/0.8112, allocations: 180.3 kB / 0.9228 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.8125, allocations: 0.4902 MB / 0.9233 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.8137, allocations: 463.3 kB / 0.9238 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001668/0.8153, allocations: 1.514 MB / 0.9252 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002531/0.8179, allocations: 2.188 MB / 0.9274 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.8193, allocations: 0.7028 MB / 0.9281 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005404/0.8198, allocations: 494.2 kB / 0.9285 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.636e-05/0.8199, allocations: 32.97 kB / 0.9286 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009607/0.8209, allocations: 416.1 kB / 0.929 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.8212, allocations: 257.5 kB / 0.9292 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004842/0.8217, allocations: 229.3 kB / 0.9294 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.8227, allocations: 0.992 MB / 0.9304 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.8227, allocations: 0 / 0.9304 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8228, allocations: 4 kB / 0.9304 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.704e-05/0.8228, allocations: 0 / 0.9304 GB, free: 21.43 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.002102/0.8249, allocations: 1.314 MB / 0.9317 GB, free: 20.63 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.8249, allocations: 9.594 kB / 0.9317 GB, free: 20.63 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007834/0.8257, allocations: 182.8 kB / 0.9319 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.8273, allocations: 0.8107 MB / 0.9327 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.964e-05/0.8274, allocations: 44.16 kB / 0.9327 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.8275, allocations: 63.22 kB / 0.9328 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.8288, allocations: 0.8204 MB / 0.9336 GB, free: 20 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.8289, allocations: 1.812 kB / 0.9336 GB, free: 20 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.552e-05/0.8289, allocations: 23.7 kB / 0.9336 GB, free: 20 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.8289, allocations: 16.47 kB / 0.9336 GB, free: 20 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009958/0.8299, allocations: 0.571 MB / 0.9342 GB, free: 19.99 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.004187/0.8341, allocations: 4.247 MB / 0.9383 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008665/0.835, allocations: 463.5 kB / 0.9388 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.32e-05/0.8351, allocations: 17.83 kB / 0.9388 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005659/0.8357, allocations: 335.7 kB / 0.9391 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002652/0.8359, allocations: 34.38 kB / 0.9391 GB, free: 17 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.064e-06/0.836, allocations: 0 / 0.9391 GB, free: 17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001439/0.8374, allocations: 0.7131 MB / 0.9398 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/0.8375, allocations: 113.1 kB / 0.9399 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.8389, allocations: 1.154 MB / 0.9411 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.8389, allocations: 35.14 kB / 0.9411 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.8393, allocations: 498.7 kB / 0.9416 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.206e-05/0.8393, allocations: 117.1 kB / 0.9417 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.8394, allocations: 9.844 kB / 0.9417 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.8395, allocations: 322.2 kB / 0.942 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.8398, allocations: 206.3 kB / 0.9422 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005172/0.8404, allocations: 0.5276 MB / 0.9427 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004469/0.8408, allocations: 308.5 kB / 0.943 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.8408, allocations: 8.078 kB / 0.943 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001117/0.842, allocations: 0.7268 MB / 0.9437 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007414/0.8427, allocations: 2.131 MB / 0.9458 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.8427, allocations: 9.75 kB / 0.9458 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.8428, allocations: 9.156 kB / 0.9458 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/0.8433, allocations: 124.1 kB / 0.9459 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.8433, allocations: 11.47 kB / 0.9459 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009105/0.8442, allocations: 87.94 kB / 0.946 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.8443, allocations: 24.16 kB / 0.9461 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.8443, allocations: 4.125 kB / 0.9461 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009224/0.8453, allocations: 0.5819 MB / 0.9466 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.8453, allocations: 5.344 kB / 0.9466 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.8453, allocations: 9 kB / 0.9466 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/0.8457, allocations: 116.2 kB / 0.9467 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.8458, allocations: 14.84 kB / 0.9468 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007631/0.8465, allocations: 88.05 kB / 0.9468 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-05/0.8466, allocations: 23.03 kB / 0.9469 GB, free: 13.2 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.0006661/0.8473, allocations: 471 kB / 0.9473 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.8474, allocations: 108.4 kB / 0.9474 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009234/0.8483, allocations: 0.5268 MB / 0.9479 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.8484, allocations: 4.875 kB / 0.9479 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.8484, allocations: 0 / 0.9479 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.8484, allocations: 6.391 kB / 0.9479 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.8501, allocations: 1.169 MB / 0.9491 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.8501, allocations: 6.547 kB / 0.9491 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.8505, allocations: 77.56 kB / 0.9492 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.8505, allocations: 2.688 kB / 0.9492 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.8506, allocations: 10.39 kB / 0.9492 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.8506, allocations: 7.328 kB / 0.9492 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.8506, allocations: 5.625 kB / 0.9492 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009625/0.8516, allocations: 0.6854 MB / 0.9499 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003813/0.8519, allocations: 231.9 kB / 0.9501 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.8521, allocations: 14.02 kB / 0.9501 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006164/0.8527, allocations: 70.34 kB / 0.9502 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.8528, allocations: 38.45 kB / 0.9502 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.8528, allocations: 13.22 kB / 0.9502 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001155/0.854, allocations: 0.8148 MB / 0.951 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.854, allocations: 0 / 0.951 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001464/0.8555, allocations: 418.1 kB / 0.9514 GB, free: 11.83 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.0005314/0.856, allocations: 170.1 kB / 0.9516 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.8576, allocations: 0.8894 MB / 0.9524 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.8576, allocations: 0 / 0.9524 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003887/0.858, allocations: 235.2 kB / 0.9527 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/0.861, allocations: 0.6311 MB / 0.9533 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.8642, allocations: 1.982 MB / 0.9552 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.8652, allocations: 1.199 MB / 0.9564 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001401/0.8666, allocations: 448.4 kB / 0.9568 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.8669, allocations: 81.64 kB / 0.9569 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of SimCode: time 7.72e-07/0.8669, allocations: 0 / 0.9569 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of Templates: time 0.03002/0.8969, allocations: 18.63 MB / 0.9751 GB, free: 2.418 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: