Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008195/0.0008196, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009062/0.0009065, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001801/0.001801, allocations: 278.5 kB / 291.4 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.959/0.959, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003793, allocations: 13 kB / 0.598 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.133, allocations: 88.55 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.4718/0.6049, allocations: 146.7 MB / 0.8278 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004055/0.609, allocations: 3.365 MB / 0.8311 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.6093, allocations: 9.781 kB / 0.8311 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004435/0.6098, allocations: 113 kB / 0.8312 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.6108, allocations: 393.8 kB / 0.8316 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.6119, allocations: 375.9 kB / 0.8319 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002661/0.6145, allocations: 3.025 MB / 0.8349 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002343/0.6169, allocations: 2.156 MB / 0.837 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.6183, allocations: 0.8583 MB / 0.8378 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000772/0.6191, allocations: 0.7056 MB / 0.8385 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.406e-05/0.6192, allocations: 39.56 kB / 0.8385 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.6203, allocations: 0.5529 MB / 0.8391 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.6206, allocations: 281.9 kB / 0.8393 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.6208, allocations: 229 kB / 0.8396 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009621/0.6218, allocations: 1.036 MB / 0.8406 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6218, allocations: 0 / 0.8406 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6218, allocations: 3.156 kB / 0.8406 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.6218, allocations: 0 / 0.8406 GB, free: 8.109 MB / 0.5606 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.00187/0.6237, allocations: 1.344 MB / 0.8419 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.6238, allocations: 10.94 kB / 0.8419 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007249/0.6245, allocations: 186.2 kB / 0.8421 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.6258, allocations: 0.7962 MB / 0.8429 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.6258, allocations: 52.88 kB / 0.8429 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.6259, allocations: 60.58 kB / 0.843 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.6271, allocations: 0.8214 MB / 0.8438 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.6271, allocations: 7.016 kB / 0.8438 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.116e-05/0.6271, allocations: 21.94 kB / 0.8438 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.6272, allocations: 13.03 kB / 0.8438 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008528/0.628, allocations: 0.5733 MB / 0.8444 GB, free: 5.484 MB / 0.5606 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.003441/0.6315, allocations: 4.249 MB / 0.8485 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006776/0.6322, allocations: 460.2 kB / 0.849 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004531/0.6326, allocations: 350.5 kB / 0.8493 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/0.6329, allocations: 196.9 kB / 0.8495 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004959/0.6334, allocations: 332.3 kB / 0.8498 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001906/0.6336, allocations: 27.38 kB / 0.8498 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.904e-06/0.6336, allocations: 2.875 kB / 0.8498 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001281/0.6349, allocations: 0.7119 MB / 0.8505 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.635, allocations: 83.89 kB / 0.8506 GB, free: 412 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.6362, allocations: 1.159 MB / 0.8517 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.6363, allocations: 34.7 kB / 0.8518 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/0.6366, allocations: 485.4 kB / 0.8522 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.818e-05/0.6367, allocations: 110.4 kB / 0.8523 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.6368, allocations: 10.91 kB / 0.8523 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.6369, allocations: 331.9 kB / 0.8527 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.6372, allocations: 207.8 kB / 0.8529 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.6378, allocations: 0.5221 MB / 0.8534 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004282/0.6382, allocations: 321.5 kB / 0.8537 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.6382, allocations: 2.938 kB / 0.8537 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001073/0.6393, allocations: 0.73 MB / 0.8544 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.6395, allocations: 266.3 kB / 0.8546 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.6395, allocations: 9.875 kB / 0.8547 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.6395, allocations: 10.84 kB / 0.8547 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004715/0.64, allocations: 126 kB / 0.8548 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.64, allocations: 12.72 kB / 0.8548 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007267/0.6407, allocations: 90.09 kB / 0.8549 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.6408, allocations: 26.94 kB / 0.8549 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-06/0.6408, allocations: 2.688 kB / 0.8549 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008616/0.6417, allocations: 0.5921 MB / 0.8555 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6417, allocations: 5.938 kB / 0.8555 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.6417, allocations: 7.938 kB / 0.8555 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/0.6421, allocations: 112.4 kB / 0.8556 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.6422, allocations: 11.91 kB / 0.8556 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006534/0.6428, allocations: 89.94 kB / 0.8557 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.6429, allocations: 24.67 kB / 0.8557 GB, free: 12.91 MB / 0.5762 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.0004515/0.6433, allocations: 470.8 kB / 0.8562 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.6434, allocations: 103.9 kB / 0.8563 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009007/0.6443, allocations: 0.5549 MB / 0.8568 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.6444, allocations: 3.219 kB / 0.8568 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.6444, allocations: 1.781 kB / 0.8568 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.6444, allocations: 3.984 kB / 0.8568 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.6463, allocations: 1.503 MB / 0.8583 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6463, allocations: 6.641 kB / 0.8583 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.6466, allocations: 75.02 kB / 0.8584 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.6466, allocations: 3.188 kB / 0.8584 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.6466, allocations: 9.5 kB / 0.8584 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.6467, allocations: 2.562 kB / 0.8584 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6467, allocations: 2.625 kB / 0.8584 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008061/0.6475, allocations: 0.6722 MB / 0.859 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.6478, allocations: 235.7 kB / 0.8593 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.6479, allocations: 6.406 kB / 0.8593 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005769/0.6485, allocations: 69.33 kB / 0.8593 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.445e-05/0.6486, allocations: 33.17 kB / 0.8594 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.6486, allocations: 23.28 kB / 0.8594 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008962/0.6495, allocations: 0.8164 MB / 0.8602 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6495, allocations: 0 / 0.8602 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001003/0.6505, allocations: 422.4 kB / 0.8606 GB, free: 9.93 MB / 0.5762 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.0003793/0.6509, allocations: 174.2 kB / 0.8608 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.6522, allocations: 0.8916 MB / 0.8616 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6522, allocations: 0 / 0.8616 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.6526, allocations: 235.4 kB / 0.8619 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/0.6553, allocations: 0.6496 MB / 0.8625 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.6579, allocations: 1.985 MB / 0.8644 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006841/0.6586, allocations: 1.178 MB / 0.8656 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001166/0.6598, allocations: 448.5 kB / 0.866 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.66, allocations: 75.44 kB / 0.8661 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of SimCode: time 8.11e-07/0.66, allocations: 0 / 0.8661 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of Templates: time 0.0288/0.6888, allocations: 18.65 MB / 0.8843 GB, free: 2.938 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)