Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0008325/0.0008325, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.0009107/0.0009108, allocations: 177.3 kB / 15.94 MB, free: 228 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.188/1.188, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8469/0.8469, allocations: 135.2 MB / 426.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.000272, allocations: 8 kB / 0.5068 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 82.31 MB / 0.5872 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.3641/0.5039, allocations: 135.7 MB / 0.7197 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002921/0.5069, allocations: 1.667 MB / 0.7213 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004072/0.5073, allocations: 12.59 kB / 0.7214 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000775/0.5081, allocations: 181 kB / 0.7215 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.5097, allocations: 0.495 MB / 0.722 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.511, allocations: 412.6 kB / 0.7224 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.5131, allocations: 1.504 MB / 0.7239 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002929/0.516, allocations: 2.188 MB / 0.726 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.5174, allocations: 0.7001 MB / 0.7267 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005963/0.518, allocations: 488.8 kB / 0.7272 GB, free: 8.066 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.291e-05/0.5181, allocations: 33.09 kB / 0.7272 GB, free: 8.066 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009527/0.519, allocations: 420.9 kB / 0.7276 GB, free: 7.957 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.5193, allocations: 259.8 kB / 0.7278 GB, free: 7.855 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.5195, allocations: 230.5 kB / 0.7281 GB, free: 7.734 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.5206, allocations: 0.9899 MB / 0.729 GB, free: 7.504 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.5206, allocations: 0 / 0.729 GB, free: 7.504 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5206, allocations: 0 / 0.729 GB, free: 7.504 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.5206, allocations: 0 / 0.729 GB, free: 7.504 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.002003/0.5226, allocations: 1.313 MB / 0.7303 GB, free: 6.629 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.5227, allocations: 7.875 kB / 0.7303 GB, free: 6.629 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006883/0.5233, allocations: 190 kB / 0.7305 GB, free: 6.559 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.5248, allocations: 0.7937 MB / 0.7313 GB, free: 6.113 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.5248, allocations: 46.86 kB / 0.7313 GB, free: 6.094 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.706e-05/0.5249, allocations: 60.97 kB / 0.7314 GB, free: 6.074 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.5261, allocations: 0.8232 MB / 0.7322 GB, free: 5.648 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.5261, allocations: 1.344 kB / 0.7322 GB, free: 5.648 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/0.5261, allocations: 25.8 kB / 0.7322 GB, free: 5.633 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.5262, allocations: 19.66 kB / 0.7322 GB, free: 5.625 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000863/0.527, allocations: 0.5688 MB / 0.7328 GB, free: 5.457 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.003704/0.5307, allocations: 4.265 MB / 0.7369 GB, free: 2.094 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006493/0.5314, allocations: 462.8 kB / 0.7374 GB, free: 1.934 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.626e-05/0.5315, allocations: 18.72 kB / 0.7374 GB, free: 1.918 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004591/0.5319, allocations: 318.1 kB / 0.7377 GB, free: 1.656 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002253/0.5322, allocations: 39.59 kB / 0.7377 GB, free: 1.617 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/0.5322, allocations: 0 / 0.7377 GB, free: 1.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.004616/0.5368, allocations: 1.67 MB / 0.7394 GB, free: 268 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.5369, allocations: 110.8 kB / 0.7395 GB, free: 132 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.5382, allocations: 1.151 MB / 0.7406 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/0.5383, allocations: 37.7 kB / 0.7406 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000392/0.5387, allocations: 492.4 kB / 0.7411 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.424e-05/0.5388, allocations: 110.4 kB / 0.7412 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.5388, allocations: 8 kB / 0.7412 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5389, allocations: 330 kB / 0.7415 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.5393, allocations: 209 kB / 0.7417 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005854/0.5399, allocations: 0.5111 MB / 0.7422 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004381/0.5403, allocations: 319.9 kB / 0.7425 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5404, allocations: 8 kB / 0.7425 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001961/0.5423, allocations: 1.042 MB / 0.7436 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007075/0.543, allocations: 2.136 MB / 0.7457 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.5431, allocations: 4 kB / 0.7457 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.5442, allocations: 347.3 kB / 0.746 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.5446, allocations: 103.8 kB / 0.7461 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009647/0.5456, allocations: 1.044 MB / 0.7471 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009174/0.5465, allocations: 91.81 kB / 0.7472 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.5466, allocations: 24 kB / 0.7472 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.5466, allocations: 4 kB / 0.7472 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001274/0.5479, allocations: 0.798 MB / 0.748 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5479, allocations: 4 kB / 0.748 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005423/0.5484, allocations: 251.5 kB / 0.7482 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.5487, allocations: 99.91 kB / 0.7483 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/0.552, allocations: 3.11 MB / 0.7514 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008607/0.5529, allocations: 87.81 kB / 0.7515 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.553, allocations: 27.94 kB / 0.7515 GB, free: 3.312 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 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0006162/0.5536, allocations: 465.3 kB / 0.7519 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.5537, allocations: 110.6 kB / 0.752 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.5549, allocations: 0.7618 MB / 0.7528 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.5549, allocations: 4 kB / 0.7528 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.5549, allocations: 4.125 kB / 0.7528 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5549, allocations: 0 / 0.7528 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.5564, allocations: 1.17 MB / 0.7539 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5564, allocations: 224 / 0.7539 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.5566, allocations: 59.94 kB / 0.754 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004611/0.5571, allocations: 245.5 kB / 0.7542 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.5571, allocations: 15.94 kB / 0.7542 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008282/0.558, allocations: 1 MB / 0.7552 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.558, allocations: 0 / 0.7552 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.5592, allocations: 0.9242 MB / 0.7561 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/0.5595, allocations: 227.8 kB / 0.7563 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.5596, allocations: 8 kB / 0.7563 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005888/0.5602, allocations: 67.77 kB / 0.7564 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.5603, allocations: 35.86 kB / 0.7564 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.5603, allocations: 15.98 kB / 0.7565 GB, free: 14 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009356/0.5613, allocations: 0.8041 MB / 0.7572 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5613, allocations: 8 kB / 0.7572 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001193/0.5625, allocations: 475.4 kB / 0.7577 GB, free: 12.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003427/0.5628, allocations: 172 kB / 0.7579 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001887/0.5647, allocations: 1.135 MB / 0.759 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.5648, allocations: 4.188 kB / 0.759 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005023/0.5653, allocations: 254.5 kB / 0.7592 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/0.5681, allocations: 0.6367 MB / 0.7598 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.5706, allocations: 1.992 MB / 0.7618 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/0.5712, allocations: 1.208 MB / 0.763 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008127/0.572, allocations: 340.1 kB / 0.7633 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.5721, allocations: 63.44 kB / 0.7633 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of SimCode: time 8.72e-07/0.5722, allocations: 0 / 0.7633 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of Templates: time 0.03051/0.6027, allocations: 20.71 MB / 0.7836 GB, free: 2.371 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) Environment - environmentSimulation: