Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 99.86 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.001688/0.001688, 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 2.445/2.445, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.094/1.094, allocations: 132.2 MB / 423.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005016, allocations: 12 kB / 0.5033 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7107/0.7112, allocations: 81.57 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.2049/0.9162, allocations: 135.7 MB / 0.7155 GB, free: 8.566 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003419/0.9197, allocations: 1.671 MB / 0.7171 GB, free: 6.895 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003683/0.9201, allocations: 11.88 kB / 0.7171 GB, free: 6.883 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00075/0.9208, allocations: 179.2 kB / 0.7173 GB, free: 6.707 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.9225, allocations: 0.4947 MB / 0.7178 GB, free: 6.211 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.9238, allocations: 415 kB / 0.7182 GB, free: 5.812 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002275/0.9261, allocations: 1.51 MB / 0.7197 GB, free: 4.297 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003376/0.9295, allocations: 2.192 MB / 0.7218 GB, free: 2.094 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.9311, allocations: 0.6929 MB / 0.7225 GB, free: 1.398 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008046/0.932, allocations: 489.9 kB / 0.723 GB, free: 0.918 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.468e-05/0.9321, allocations: 35.98 kB / 0.723 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.9331, allocations: 419.4 kB / 0.7234 GB, free: 484 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002725/0.9334, allocations: 255.1 kB / 0.7236 GB, free: 228 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.9338, allocations: 229.2 kB / 0.7238 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.9349, allocations: 0.9859 MB / 0.7248 GB, free: 15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.9349, allocations: 3.938 kB / 0.7248 GB, free: 15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.739e-06/0.9349, allocations: 0 / 0.7248 GB, free: 15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.935, allocations: 3.828 kB / 0.7248 GB, free: 15 MB / 0.5606 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.002517/0.9375, allocations: 1.311 MB / 0.7261 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.9376, allocations: 8.031 kB / 0.7261 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.9377, allocations: 94.52 kB / 0.7262 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000807/0.9385, allocations: 182.5 kB / 0.7264 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001766/0.9403, allocations: 0.8079 MB / 0.7272 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.407e-05/0.9403, allocations: 45 kB / 0.7272 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.929e-05/0.9404, allocations: 56 kB / 0.7273 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.9419, allocations: 0.82 MB / 0.7281 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.9419, allocations: 3.938 kB / 0.7281 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.776e-05/0.942, allocations: 24 kB / 0.7281 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.942, allocations: 15.94 kB / 0.7281 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.9431, allocations: 0.5735 MB / 0.7287 GB, free: 10.87 MB / 0.5606 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.005244/0.9484, allocations: 4.25 MB / 0.7328 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000905/0.9493, allocations: 463.9 kB / 0.7333 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.9494, allocations: 19.94 kB / 0.7333 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006418/0.9501, allocations: 328.5 kB / 0.7336 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004156/0.9505, allocations: 35.59 kB / 0.7336 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.685e-06/0.9505, allocations: 0 / 0.7336 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.008416/0.9589, allocations: 1.667 MB / 0.7352 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.9591, allocations: 110.8 kB / 0.7354 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002899/0.962, allocations: 1.147 MB / 0.7365 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.9622, allocations: 37.7 kB / 0.7365 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007878/0.963, allocations: 496.4 kB / 0.737 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.9632, allocations: 122.4 kB / 0.7371 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.9633, allocations: 4.109 kB / 0.7371 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002289/0.9635, allocations: 333.9 kB / 0.7374 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007344/0.9643, allocations: 205 kB / 0.7376 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.9655, allocations: 0.5189 MB / 0.7381 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000952/0.9665, allocations: 323.2 kB / 0.7384 GB, free: 344 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.9665, allocations: 0 / 0.7384 GB, free: 344 kB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.004372/0.9709, allocations: 1.038 MB / 0.7394 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.001341/0.9722, allocations: 2.133 MB / 0.7415 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.9723, allocations: 4 kB / 0.7415 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002443/0.9748, allocations: 348.5 kB / 0.7419 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007533/0.9755, allocations: 95.86 kB / 0.742 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.9776, allocations: 1.042 MB / 0.743 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.9796, allocations: 95.81 kB / 0.7431 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.559e-05/0.9797, allocations: 23.94 kB / 0.7431 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.9798, allocations: 4 kB / 0.7431 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00271/0.9825, allocations: 0.8025 MB / 0.7439 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.9825, allocations: 4.062 kB / 0.7439 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007244/0.9833, allocations: 253.3 kB / 0.7441 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.9838, allocations: 95.86 kB / 0.7442 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005096/0.9889, allocations: 3.11 MB / 0.7472 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.9908, allocations: 87.81 kB / 0.7473 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.054e-05/0.9909, allocations: 24 kB / 0.7474 GB, free: 6.844 MB / 0.5762 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.001139/0.992, allocations: 476.8 kB / 0.7478 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003144/0.9924, allocations: 102.7 kB / 0.7479 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.9946, allocations: 0.7659 MB / 0.7487 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.9946, allocations: 4 kB / 0.7487 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.9946, allocations: 0 / 0.7487 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.9947, allocations: 3.984 kB / 0.7487 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/0.9974, allocations: 1.166 MB / 0.7498 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.9974, allocations: 0 / 0.7498 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004229/0.9979, allocations: 60.11 kB / 0.7499 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009033/0.9988, allocations: 247 kB / 0.7501 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.9988, allocations: 8 kB / 0.7501 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/1, allocations: 1.001 MB / 0.7511 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1, allocations: 4 kB / 0.7511 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/1.003, allocations: 0.9355 MB / 0.752 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007173/1.003, allocations: 223.8 kB / 0.7522 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/1.003, allocations: 8 kB / 0.7522 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/1.005, allocations: 75.66 kB / 0.7523 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/1.005, allocations: 39.95 kB / 0.7523 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/1.005, allocations: 8 kB / 0.7523 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001815/1.007, allocations: 0.8119 MB / 0.7531 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.61e-07/1.007, allocations: 0 / 0.7531 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002327/1.009, allocations: 471.4 kB / 0.7536 GB, free: 244 kB / 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.003142/1.012, allocations: 1.916 MB / 0.7554 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003539/1.016, allocations: 1.131 MB / 0.7566 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.016, allocations: 4 kB / 0.7566 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009726/1.017, allocations: 258.9 kB / 0.7568 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005538/1.022, allocations: 0.6295 MB / 0.7574 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02321/1.045, allocations: 10.12 MB / 0.7673 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/1.047, allocations: 1.201 MB / 0.7685 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001976/1.049, allocations: 348.1 kB / 0.7688 GB, free: 180 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007521/1.05, allocations: 323.4 kB / 0.7691 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of SimCode: time 1.372e-06/1.05, allocations: 0 / 0.7691 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08844/1.138, allocations: 30.64 MB / 0.799 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004407/1.139, allocations: 264.4 kB / 0.7993 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.691/4.83, allocations: 0 / 0.7993 GB, free: 1.375 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) Environment - environmentSimulation: