Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001061/0.001061, allocations: 93.81 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 182.2 kB / 16.91 MB, free: 6.914 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.349/1.349, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.707/0.707, allocations: 123 MB / 415.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 8 kB / 0.4933 GB, free: 14.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.379, allocations: 79.28 MB / 0.5707 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1707/0.5498, allocations: 157.3 MB / 0.7243 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004864/0.5547, allocations: 3.582 MB / 0.7278 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000337/0.5551, allocations: 15.88 kB / 0.7279 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004739/0.5556, allocations: 139.2 kB / 0.728 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.5569, allocations: 0.4941 MB / 0.7285 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.558, allocations: 391.7 kB / 0.7288 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003255/0.5612, allocations: 3.518 MB / 0.7323 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/0.5638, allocations: 2.222 MB / 0.7344 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.5656, allocations: 0.9025 MB / 0.7353 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008598/0.5665, allocations: 0.7233 MB / 0.736 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.329e-05/0.5666, allocations: 35.94 kB / 0.7361 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.568, allocations: 0.8029 MB / 0.7369 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002883/0.5683, allocations: 274.9 kB / 0.7371 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000612/0.5689, allocations: 0.5339 MB / 0.7376 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.5704, allocations: 1.382 MB / 0.739 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5704, allocations: 0 / 0.739 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5705, allocations: 0 / 0.739 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.5705, allocations: 0 / 0.739 GB, free: 15.77 MB / 0.5762 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.002122/0.5726, allocations: 1.302 MB / 0.7403 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.5727, allocations: 8.031 kB / 0.7403 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008372/0.5735, allocations: 186.5 kB / 0.7404 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.5748, allocations: 0.8101 MB / 0.7412 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.53e-05/0.5748, allocations: 45 kB / 0.7413 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.5749, allocations: 64 kB / 0.7413 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.5763, allocations: 0.8239 MB / 0.7421 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.5763, allocations: 0 / 0.7421 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.525e-05/0.5764, allocations: 24 kB / 0.7422 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.5764, allocations: 12 kB / 0.7422 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009618/0.5774, allocations: 0.5812 MB / 0.7427 GB, free: 11.73 MB / 0.5762 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.004312/0.5817, allocations: 4.251 MB / 0.7469 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007202/0.5824, allocations: 446.2 kB / 0.7473 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004862/0.5829, allocations: 350.1 kB / 0.7477 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003489/0.5833, allocations: 198.2 kB / 0.7478 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005365/0.5838, allocations: 331 kB / 0.7482 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002492/0.5841, allocations: 35.53 kB / 0.7482 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 3.156e-06/0.5841, allocations: 96 / 0.7482 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001402/0.5855, allocations: 0.7168 MB / 0.7489 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.5856, allocations: 85.05 kB / 0.749 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.5869, allocations: 1.151 MB / 0.7501 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/0.5869, allocations: 37.7 kB / 0.7501 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/0.5873, allocations: 492.4 kB / 0.7506 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.632e-05/0.5874, allocations: 118.4 kB / 0.7507 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.152e-05/0.5875, allocations: 45.7 kB / 0.7508 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5876, allocations: 326 kB / 0.7511 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.588, allocations: 228.9 kB / 0.7513 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006192/0.5887, allocations: 0.5501 MB / 0.7518 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009524/0.5896, allocations: 0.6983 MB / 0.7525 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5896, allocations: 0 / 0.7525 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001222/0.5909, allocations: 0.7674 MB / 0.7533 GB, free: 344 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.5911, allocations: 284.7 kB / 0.7535 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.5911, allocations: 4 kB / 0.7535 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.5911, allocations: 11.94 kB / 0.7535 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005316/0.5917, allocations: 120 kB / 0.7537 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.5917, allocations: 11.98 kB / 0.7537 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007937/0.5925, allocations: 83.81 kB / 0.7538 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.5926, allocations: 27.98 kB / 0.7538 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.5926, allocations: 4.109 kB / 0.7538 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009639/0.5935, allocations: 0.596 MB / 0.7544 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5936, allocations: 4 kB / 0.7544 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.224e-06/0.5936, allocations: 8 kB / 0.7544 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/0.594, allocations: 111.8 kB / 0.7545 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.594, allocations: 8 kB / 0.7545 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006913/0.5947, allocations: 87.78 kB / 0.7546 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.5948, allocations: 24 kB / 0.7546 GB, free: 14.88 MB / 0.5919 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.0004614/0.5953, allocations: 464.7 kB / 0.755 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.5954, allocations: 106.8 kB / 0.7551 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009741/0.5964, allocations: 0.5465 MB / 0.7557 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.5964, allocations: 8 kB / 0.7557 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5964, allocations: 0 / 0.7557 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.5964, allocations: 4 kB / 0.7557 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.5984, allocations: 1.512 MB / 0.7572 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5984, allocations: 4 kB / 0.7572 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/0.5988, allocations: 80.03 kB / 0.7572 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5988, allocations: 4 kB / 0.7572 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.5988, allocations: 8 kB / 0.7573 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.5988, allocations: 11.94 kB / 0.7573 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5988, allocations: 4 kB / 0.7573 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000862/0.5997, allocations: 0.6587 MB / 0.7579 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.6, allocations: 235.7 kB / 0.7581 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.6001, allocations: 8 kB / 0.7581 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000623/0.6008, allocations: 63.92 kB / 0.7582 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.6008, allocations: 27.91 kB / 0.7582 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.6009, allocations: 12 kB / 0.7582 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009604/0.6018, allocations: 0.8199 MB / 0.759 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6018, allocations: 0 / 0.759 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001002/0.6029, allocations: 423.4 kB / 0.7595 GB, free: 9.75 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003517/0.6032, allocations: 184.6 kB / 0.7596 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.6046, allocations: 0.9227 MB / 0.7605 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6046, allocations: 64 / 0.7605 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.605, allocations: 235.7 kB / 0.7608 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003477/0.6085, allocations: 0.6356 MB / 0.7614 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.6112, allocations: 2.067 MB / 0.7634 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007/0.6119, allocations: 1.182 MB / 0.7645 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001131/0.6131, allocations: 412.3 kB / 0.7649 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.6133, allocations: 79.42 kB / 0.765 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.6133, allocations: 0 / 0.765 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of Templates: time 0.03071/0.644, allocations: 19.09 MB / 0.7837 GB, free: 1.09 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)