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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.007918/0.007919, allocations: 170.2 kB / 15.11 MB, free: 6.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7744/0.7744, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 223.2 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 95.08 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003763, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4978/0.4982, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.12/5.619, allocations: 1.832 GB / 2.482 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000404/5.619, allocations: 98.8 kB / 2.482 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.609/12.23, allocations: 1.804 GB / 4.285 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.023e-06/12.23, allocations: 0 / 4.285 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.314e-05/12.23, allocations: 27.98 kB / 4.285 GB, free: 114.6 MB / 0.6823 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.004162/12.23, allocations: 1.519 MB / 4.287 GB, free: 113 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/12.23, allocations: 12.03 kB / 4.287 GB, free: 113 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001943/12.23, allocations: 94.52 kB / 4.287 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007967/12.23, allocations: 182.5 kB / 4.287 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/12.24, allocations: 1.397 MB / 4.289 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/12.24, allocations: 48.94 kB / 4.289 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.608e-05/12.24, allocations: 64 kB / 4.289 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009598/12.24, allocations: 0.794 MB / 4.289 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/12.24, allocations: 4 kB / 4.289 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.71e-05/12.24, allocations: 20 kB / 4.29 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/12.24, allocations: 16 kB / 4.29 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007635/12.24, allocations: 0.5345 MB / 4.29 GB, free: 109.7 MB / 0.6823 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.00295/12.24, allocations: 4.209 MB / 4.294 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006068/12.24, allocations: 444.9 kB / 4.295 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/12.24, allocations: 194.2 kB / 4.295 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004097/12.24, allocations: 323.1 kB / 4.295 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002039/12.24, allocations: 35.67 kB / 4.295 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.584e-06/12.24, allocations: 3.984 kB / 4.295 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.003059/12.25, allocations: 1.362 MB / 4.296 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/12.25, allocations: 93.05 kB / 4.297 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009689/12.25, allocations: 1.012 MB / 4.298 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/12.25, allocations: 41.7 kB / 4.298 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/12.25, allocations: 492.7 kB / 4.298 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.194e-05/12.25, allocations: 110.4 kB / 4.298 GB, free: 101 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/12.25, allocations: 12 kB / 4.298 GB, free: 101 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.933e-05/12.25, allocations: 326 kB / 4.298 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/12.25, allocations: 205 kB / 4.299 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004424/12.25, allocations: 0.5293 MB / 4.299 GB, free: 99.83 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/12.25, allocations: 313.7 kB / 4.299 GB, free: 99.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/12.25, allocations: 0 / 4.299 GB, free: 99.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001268/12.25, allocations: 0.9685 MB / 4.3 GB, free: 98.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003975/12.25, allocations: 2.142 MB / 4.302 GB, free: 96.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/12.25, allocations: 4 kB / 4.303 GB, free: 96.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005227/12.25, allocations: 248.6 kB / 4.303 GB, free: 95.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/12.25, allocations: 68.78 kB / 4.303 GB, free: 95.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007979/12.25, allocations: 1.032 MB / 4.304 GB, free: 94.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008391/12.25, allocations: 87.81 kB / 4.304 GB, free: 94.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/12.25, allocations: 31.98 kB / 4.304 GB, free: 94.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/12.25, allocations: 5.094 kB / 4.304 GB, free: 94.74 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001184/12.25, allocations: 0.7726 MB / 4.305 GB, free: 93.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/12.25, allocations: 4.625 kB / 4.305 GB, free: 93.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005325/12.25, allocations: 244.5 kB / 4.305 GB, free: 93.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/12.26, allocations: 79.84 kB / 4.305 GB, free: 93.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/12.26, allocations: 3.048 MB / 4.308 GB, free: 90.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008049/12.26, allocations: 95.81 kB / 4.308 GB, free: 90.37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/12.26, allocations: 27.98 kB / 4.308 GB, free: 90.34 MB / 0.6823 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.0004904/12.26, allocations: 472.7 kB / 4.309 GB, free: 89.87 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.579e-05/12.26, allocations: 106.7 kB / 4.309 GB, free: 89.76 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/12.26, allocations: 0.7773 MB / 4.309 GB, free: 88.97 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/12.26, allocations: 4 kB / 4.309 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/12.26, allocations: 0 / 4.309 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/12.26, allocations: 7.984 kB / 4.309 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/12.26, allocations: 1.714 MB / 4.311 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/12.26, allocations: 7.938 kB / 4.311 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/12.26, allocations: 27.97 kB / 4.311 GB, free: 87.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004272/12.26, allocations: 241 kB / 4.311 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/12.26, allocations: 12 kB / 4.311 GB, free: 86.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006383/12.26, allocations: 0.9994 MB / 4.312 GB, free: 85.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/12.26, allocations: 0 / 4.312 GB, free: 85.86 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/12.27, allocations: 0.9843 MB / 4.313 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/12.27, allocations: 231.7 kB / 4.314 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.783e-05/12.27, allocations: 8 kB / 4.314 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005948/12.27, allocations: 67.77 kB / 4.314 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.319e-05/12.27, allocations: 35.91 kB / 4.314 GB, free: 84.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/12.27, allocations: 8 kB / 4.314 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008192/12.27, allocations: 0.8119 MB / 4.314 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/12.27, allocations: 3.938 kB / 4.314 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001452/12.27, allocations: 0.5465 MB / 4.315 GB, free: 83.06 MB / 0.6823 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.002236/12.27, allocations: 2.721 MB / 4.318 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001603/12.27, allocations: 1.099 MB / 4.319 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/12.27, allocations: 0 / 4.319 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/12.27, allocations: 255.8 kB / 4.319 GB, free: 78.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/12.28, allocations: 0.6249 MB / 4.32 GB, free: 78.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009857/12.29, allocations: 10.04 MB / 4.329 GB, free: 67.88 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/12.29, allocations: 1.205 MB / 4.331 GB, free: 66.65 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001107/12.29, allocations: 308.4 kB / 4.331 GB, free: 66.34 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/12.29, allocations: 319.3 kB / 4.331 GB, free: 66.03 MB / 0.6823 GB Notification: Performance of SimCode: time 1.913e-06/12.29, allocations: 11.94 kB / 4.331 GB, free: 66.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06178/12.35, allocations: 44.35 MB / 4.374 GB, free: 22.08 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/12.35, allocations: 266.6 kB / 4.375 GB, free: 21.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.433/15.78, allocations: 0 / 4.375 GB, free: 21.72 MB / 0.6823 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)