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.001074/0.001075, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001012/0.001012, allocations: 189.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.259/1.259, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 297.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9184/0.9184, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 95.8 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3722, allocations: 86.98 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1548/0.527, allocations: 161.6 MB / 0.9249 GB, free: 1.664 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004377/0.5314, allocations: 3.617 MB / 0.9284 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.5316, allocations: 11.94 kB / 0.9284 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004739/0.5321, allocations: 166.8 kB / 0.9286 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.5332, allocations: 0.525 MB / 0.9291 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009723/0.5342, allocations: 436.4 kB / 0.9295 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002448/0.5367, allocations: 2.565 MB / 0.932 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002565/0.5392, allocations: 2.419 MB / 0.9344 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.5406, allocations: 1.055 MB / 0.9354 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008023/0.5414, allocations: 0.7156 MB / 0.9361 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.5416, allocations: 56 kB / 0.9362 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.5427, allocations: 0.7445 MB / 0.9369 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002822/0.543, allocations: 314.9 kB / 0.9372 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005013/0.5436, allocations: 0.5479 MB / 0.9377 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.5449, allocations: 1.428 MB / 0.9391 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5449, allocations: 4 kB / 0.9391 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5449, allocations: 0 / 0.9391 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.545, allocations: 0 / 0.9391 GB, free: 3.035 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.002072/0.547, allocations: 1.453 MB / 0.9405 GB, free: 1.52 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.5471, allocations: 12.03 kB / 0.9406 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007574/0.5478, allocations: 194.4 kB / 0.9407 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.549, allocations: 0.8452 MB / 0.9416 GB, free: 424 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.5491, allocations: 52.94 kB / 0.9416 GB, free: 372 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.069e-05/0.5492, allocations: 60 kB / 0.9417 GB, free: 312 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.5504, allocations: 0.8268 MB / 0.9425 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.5504, allocations: 4 kB / 0.9425 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.516e-05/0.5505, allocations: 24 kB / 0.9425 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.5505, allocations: 16 kB / 0.9425 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009415/0.5514, allocations: 0.5617 MB / 0.9431 GB, free: 14.8 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.003525/0.555, allocations: 4.2 MB / 0.9472 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007263/0.5557, allocations: 446.9 kB / 0.9476 GB, free: 9.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/0.5562, allocations: 339.9 kB / 0.9479 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002695/0.5565, allocations: 194.2 kB / 0.9481 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005279/0.557, allocations: 323.1 kB / 0.9484 GB, free: 8.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001371/0.5571, allocations: 35.59 kB / 0.9485 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.5571, allocations: 0 / 0.9485 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.001358/0.5585, allocations: 0.6971 MB / 0.9491 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.5586, allocations: 81.22 kB / 0.9492 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.5598, allocations: 1.166 MB / 0.9504 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.487e-05/0.5599, allocations: 41.69 kB / 0.9504 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.5602, allocations: 488.4 kB / 0.9509 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.27e-05/0.5603, allocations: 110.4 kB / 0.951 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.5605, allocations: 118.1 kB / 0.9511 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5606, allocations: 329.9 kB / 0.9514 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.561, allocations: 234.9 kB / 0.9516 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006151/0.5616, allocations: 0.5462 MB / 0.9521 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008997/0.5625, allocations: 0.6801 MB / 0.9528 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5626, allocations: 0 / 0.9528 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001186/0.5637, allocations: 0.7669 MB / 0.9536 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.5638, allocations: 33.7 kB / 0.9536 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5638, allocations: 4 kB / 0.9536 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.5638, allocations: 8 kB / 0.9536 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.5644, allocations: 120.4 kB / 0.9537 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.5644, allocations: 11.94 kB / 0.9537 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007186/0.5651, allocations: 59.92 kB / 0.9538 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/0.5652, allocations: 24 kB / 0.9538 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006603/0.5658, allocations: 0.5226 MB / 0.9543 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005426/0.5664, allocations: 0.5031 MB / 0.9548 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007761/0.5672, allocations: 0.5997 MB / 0.9554 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.325e-06/0.5672, allocations: 0 / 0.9554 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001045/0.5682, allocations: 0.7007 MB / 0.9561 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.5683, allocations: 33.7 kB / 0.9561 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5683, allocations: 4 kB / 0.9561 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/0.5683, allocations: 8 kB / 0.9561 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.5688, allocations: 112.3 kB / 0.9562 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.5688, allocations: 15.94 kB / 0.9562 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007315/0.5695, allocations: 64.25 kB / 0.9563 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.5696, allocations: 20 kB / 0.9563 GB, free: 376 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.0001528/0.5697, allocations: 231.9 kB / 0.9565 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.5699, allocations: 106.7 kB / 0.9567 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2874/0.8572, allocations: 0.5319 MB / 0.9572 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.8573, allocations: 2.484 kB / 0.9572 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.8573, allocations: 3.312 kB / 0.9572 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003779/0.8577, allocations: 223.6 kB / 0.9574 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.8578, allocations: 11.88 kB / 0.9574 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005861/0.8584, allocations: 38.22 kB / 0.9574 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/0.8585, allocations: 26.03 kB / 0.9575 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001126/0.8597, allocations: 0.6113 MB / 0.9581 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009446/0.8606, allocations: 0.7563 MB / 0.9588 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003949/0.861, allocations: 201.7 kB / 0.959 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001093/0.8621, allocations: 0.822 MB / 0.9598 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of Backend: time 3.8e-07/0.8621, allocations: 0 / 0.9598 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00204/0.8642, allocations: 0.955 MB / 0.9607 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003433/0.8676, allocations: 2.515 MB / 0.9632 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.02425/0.8919, allocations: 20.74 MB / 0.9834 GB, free: 171.4 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)