Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000857/0.0008571, allocations: 99.05 kB / 16.02 MB, free: 80 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.0009221/0.0009222, allocations: 179.7 kB / 16.92 MB, free: 6.922 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.309/1.309, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6774/0.6774, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002938, allocations: 16.91 kB / 495.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 77.54 MB / 0.56 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.404/0.5311, allocations: 157.3 MB / 0.7135 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003198/0.5343, allocations: 1.768 MB / 0.7153 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003389/0.5347, allocations: 7.938 kB / 0.7153 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005145/0.5352, allocations: 131.2 kB / 0.7154 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.5366, allocations: 0.4942 MB / 0.7159 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.5377, allocations: 351.4 kB / 0.7162 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003445/0.5411, allocations: 3.503 MB / 0.7196 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002757/0.5439, allocations: 2.208 MB / 0.7218 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.5456, allocations: 0.8986 MB / 0.7227 GB, free: 200 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009414/0.5466, allocations: 0.7233 MB / 0.7234 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.944e-05/0.5467, allocations: 36 kB / 0.7234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.5482, allocations: 0.7951 MB / 0.7242 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003046/0.5485, allocations: 274.9 kB / 0.7245 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005725/0.5491, allocations: 0.5378 MB / 0.725 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.5507, allocations: 1.382 MB / 0.7263 GB, free: 12.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5507, allocations: 0 / 0.7263 GB, free: 12.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5507, allocations: 0 / 0.7263 GB, free: 12.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.5507, allocations: 4 kB / 0.7263 GB, free: 12.43 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00209/0.5528, allocations: 1.292 MB / 0.7276 GB, free: 11.08 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.5529, allocations: 8.031 kB / 0.7276 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007749/0.5536, allocations: 194.5 kB / 0.7278 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.5548, allocations: 0.806 MB / 0.7286 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.498e-05/0.5549, allocations: 45 kB / 0.7286 GB, free: 9.969 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.116e-05/0.5549, allocations: 60 kB / 0.7287 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.5562, allocations: 0.8277 MB / 0.7295 GB, free: 9.012 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.5562, allocations: 7.938 kB / 0.7295 GB, free: 9.004 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.626e-05/0.5563, allocations: 20 kB / 0.7295 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.5563, allocations: 16 kB / 0.7295 GB, free: 8.969 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000979/0.5573, allocations: 0.5735 MB / 0.7301 GB, free: 8.391 MB / 0.545 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.003987/0.5613, allocations: 4.255 MB / 0.7342 GB, free: 3.871 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007796/0.5621, allocations: 456.4 kB / 0.7347 GB, free: 3.418 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005192/0.5626, allocations: 342.2 kB / 0.735 GB, free: 3.082 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000299/0.5629, allocations: 198.1 kB / 0.7352 GB, free: 2.852 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005339/0.5634, allocations: 323.1 kB / 0.7355 GB, free: 2.516 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002683/0.5637, allocations: 31.69 kB / 0.7355 GB, free: 2.484 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.793e-06/0.5637, allocations: 0 / 0.7355 GB, free: 2.484 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.005169/0.5689, allocations: 1.708 MB / 0.7372 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.569, allocations: 81.11 kB / 0.7373 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.5707, allocations: 1.147 MB / 0.7384 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-05/0.5707, allocations: 37.7 kB / 0.7384 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/0.5712, allocations: 484.4 kB / 0.7389 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.5713, allocations: 118.4 kB / 0.739 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-05/0.5714, allocations: 45.7 kB / 0.739 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.5715, allocations: 330 kB / 0.7394 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.5719, allocations: 224.9 kB / 0.7396 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006618/0.5726, allocations: 0.554 MB / 0.7401 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009796/0.5736, allocations: 0.6883 MB / 0.7408 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.5736, allocations: 4 kB / 0.7408 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00236/0.576, allocations: 1.111 MB / 0.7419 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002081/0.5762, allocations: 275.2 kB / 0.7421 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.5762, allocations: 8 kB / 0.7422 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.5776, allocations: 380.5 kB / 0.7425 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.5781, allocations: 103.8 kB / 0.7426 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.5793, allocations: 1.05 MB / 0.7436 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009773/0.5803, allocations: 83.86 kB / 0.7437 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.5804, allocations: 24 kB / 0.7437 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.5804, allocations: 4 kB / 0.7437 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001528/0.5819, allocations: 0.7869 MB / 0.7445 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5819, allocations: 8.094 kB / 0.7445 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006572/0.5826, allocations: 240.6 kB / 0.7448 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.583, allocations: 95.86 kB / 0.7448 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/0.5868, allocations: 3.033 MB / 0.7478 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009474/0.5878, allocations: 87.81 kB / 0.7479 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/0.5879, allocations: 24 kB / 0.7479 GB, free: 5.23 MB / 0.5606 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0006022/0.5885, allocations: 460.7 kB / 0.7483 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.5887, allocations: 106.8 kB / 0.7485 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.5902, allocations: 0.7889 MB / 0.7492 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.5902, allocations: 4 kB / 0.7492 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.5903, allocations: 4 kB / 0.7492 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.5903, allocations: 0 / 0.7492 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/0.5931, allocations: 1.736 MB / 0.7509 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5932, allocations: 0 / 0.7509 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.5935, allocations: 64.16 kB / 0.751 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000539/0.594, allocations: 240.5 kB / 0.7512 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.5941, allocations: 19.98 kB / 0.7512 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.5951, allocations: 0.9988 MB / 0.7522 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5951, allocations: 3.938 kB / 0.7522 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.5965, allocations: 0.9051 MB / 0.7531 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004092/0.5969, allocations: 227.8 kB / 0.7533 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.597, allocations: 11.98 kB / 0.7533 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006757/0.5977, allocations: 59.84 kB / 0.7534 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.78e-05/0.5978, allocations: 27.91 kB / 0.7534 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.5979, allocations: 11.98 kB / 0.7534 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00118/0.599, allocations: 0.8158 MB / 0.7542 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5991, allocations: 0 / 0.7542 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00137/0.6004, allocations: 471.4 kB / 0.7547 GB, free: 14.11 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005532/0.601, allocations: 193.7 kB / 0.7549 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002258/0.6033, allocations: 1.158 MB / 0.756 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.6033, allocations: 0 / 0.756 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005813/0.6039, allocations: 255 kB / 0.7562 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00378/0.6077, allocations: 0.6254 MB / 0.7568 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.6109, allocations: 2.077 MB / 0.7589 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008898/0.6118, allocations: 1.189 MB / 0.76 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001049/0.6129, allocations: 312.4 kB / 0.7603 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.6131, allocations: 59.44 kB / 0.7604 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.6131, allocations: 3.938 kB / 0.7604 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of Templates: time 0.03562/0.6487, allocations: 21.21 MB / 0.7811 GB, free: 3.191 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)