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.001206/0.001206, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001071/0.001071, allocations: 185.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002099/0.002099, allocations: 287.3 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9274/0.9274, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 91.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3608, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1556/0.5165, allocations: 161.6 MB / 0.9249 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004668/0.5212, allocations: 3.622 MB / 0.9284 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003197/0.5216, allocations: 19.88 kB / 0.9284 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005059/0.5221, allocations: 163 kB / 0.9286 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.5234, allocations: 0.5484 MB / 0.9291 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.5245, allocations: 435.6 kB / 0.9295 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002577/0.5271, allocations: 2.573 MB / 0.9321 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002687/0.5298, allocations: 2.419 MB / 0.9344 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.5314, allocations: 1.055 MB / 0.9355 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009378/0.5324, allocations: 0.7156 MB / 0.9362 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.5325, allocations: 60 kB / 0.9362 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.5339, allocations: 0.7484 MB / 0.9369 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000331/0.5342, allocations: 318.8 kB / 0.9372 GB, free: 5 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006535/0.5349, allocations: 0.5402 MB / 0.9378 GB, free: 4.457 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.5364, allocations: 1.428 MB / 0.9392 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5364, allocations: 4 kB / 0.9392 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5364, allocations: 0 / 0.9392 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.789e-05/0.5365, allocations: 0 / 0.9392 GB, free: 3.023 MB / 0.7012 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.002368/0.5388, allocations: 1.458 MB / 0.9406 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.5389, allocations: 8.031 kB / 0.9406 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000799/0.5397, allocations: 194.4 kB / 0.9408 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.5411, allocations: 0.853 MB / 0.9416 GB, free: 400 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.5412, allocations: 45 kB / 0.9417 GB, free: 356 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.623e-05/0.5413, allocations: 60 kB / 0.9417 GB, free: 296 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.5425, allocations: 0.8238 MB / 0.9425 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.5425, allocations: 3.938 kB / 0.9425 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.437e-05/0.5426, allocations: 24 kB / 0.9426 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.5426, allocations: 12 kB / 0.9426 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009747/0.5436, allocations: 0.5656 MB / 0.9431 GB, free: 14.79 MB / 0.7169 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.003843/0.5474, allocations: 4.204 MB / 0.9472 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007414/0.5482, allocations: 434.8 kB / 0.9476 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004913/0.5487, allocations: 339 kB / 0.948 GB, free: 9.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002813/0.549, allocations: 198.2 kB / 0.9481 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005214/0.5495, allocations: 323.1 kB / 0.9485 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001726/0.5497, allocations: 39.58 kB / 0.9485 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 1.903e-06/0.5497, allocations: 4 kB / 0.9485 GB, free: 8.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.001405/0.5511, allocations: 0.6932 MB / 0.9492 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.5512, allocations: 89.03 kB / 0.9493 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.5525, allocations: 1.159 MB / 0.9504 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/0.5525, allocations: 33.7 kB / 0.9504 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003857/0.5529, allocations: 484.4 kB / 0.9509 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.805e-05/0.553, allocations: 114.4 kB / 0.951 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.5532, allocations: 122.1 kB / 0.9511 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.5533, allocations: 329.9 kB / 0.9514 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004127/0.5537, allocations: 238.9 kB / 0.9517 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/0.5544, allocations: 0.5423 MB / 0.9522 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009393/0.5553, allocations: 0.6802 MB / 0.9528 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.5553, allocations: 4 kB / 0.9529 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001248/0.5566, allocations: 0.7675 MB / 0.9536 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.5566, allocations: 37.69 kB / 0.9536 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.5567, allocations: 4 kB / 0.9536 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.5567, allocations: 11.94 kB / 0.9537 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000534/0.5572, allocations: 111.9 kB / 0.9538 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.5573, allocations: 11.94 kB / 0.9538 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007315/0.558, allocations: 59.95 kB / 0.9538 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/0.558, allocations: 24 kB / 0.9538 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006894/0.5587, allocations: 0.5242 MB / 0.9544 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005509/0.5593, allocations: 0.4959 MB / 0.9548 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007873/0.5601, allocations: 0.5997 MB / 0.9554 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.5601, allocations: 0 / 0.9554 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001066/0.5612, allocations: 0.6933 MB / 0.9561 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.5612, allocations: 40.61 kB / 0.9561 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.5612, allocations: 8 kB / 0.9562 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.5613, allocations: 11.94 kB / 0.9562 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/0.5617, allocations: 103.9 kB / 0.9563 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.5618, allocations: 11.94 kB / 0.9563 GB, free: 452 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007421/0.5625, allocations: 68.25 kB / 0.9563 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.5626, allocations: 27.98 kB / 0.9564 GB, free: 356 kB / 0.7169 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.0001504/0.5627, allocations: 223.9 kB / 0.9566 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.5628, allocations: 106.7 kB / 0.9567 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2889/0.8517, allocations: 0.5293 MB / 0.9572 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.8517, allocations: 5.016 kB / 0.9572 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.8518, allocations: 4.281 kB / 0.9572 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004981/0.8523, allocations: 223.6 kB / 0.9574 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.8525, allocations: 11.55 kB / 0.9574 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006091/0.8531, allocations: 36.86 kB / 0.9575 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.8532, allocations: 25.91 kB / 0.9575 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001294/0.8545, allocations: 0.6067 MB / 0.9581 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001116/0.8556, allocations: 0.7621 MB / 0.9588 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004138/0.8561, allocations: 205.4 kB / 0.959 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001249/0.8573, allocations: 0.8198 MB / 0.9598 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of Backend: time 6.51e-07/0.8573, allocations: 0 / 0.9598 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002181/0.8595, allocations: 0.9646 MB / 0.9608 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003701/0.8632, allocations: 2.521 MB / 0.9632 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.02546/0.8887, allocations: 20.75 MB / 0.9835 GB, free: 171.5 MB / 0.7169 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)