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/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_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IDEAS_dev_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.006851/0.006851, allocations: 170.8 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7638/0.7638, allocations: 135.2 MB / 151 MB, free: 13.8 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.839/1.839, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.001051/0.001051, allocations: 100.9 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004722, allocations: 12 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4872/0.4877, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.966/5.454, allocations: 1.832 GB / 2.482 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/5.454, allocations: 96.92 kB / 2.482 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.561/12.01, allocations: 1.804 GB / 4.285 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.384e-06/12.02, allocations: 0 / 4.285 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000103/12.02, allocations: 27.98 kB / 4.285 GB, free: 145.9 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.004414/12.02, allocations: 1.52 MB / 4.287 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/12.02, allocations: 12.03 kB / 4.287 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000265/12.02, allocations: 101.5 kB / 4.287 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009197/12.02, allocations: 182.5 kB / 4.287 GB, free: 144 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003537/12.02, allocations: 1.397 MB / 4.289 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/12.02, allocations: 45 kB / 4.289 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.141e-05/12.02, allocations: 64 kB / 4.289 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/12.03, allocations: 0.7888 MB / 4.289 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/12.03, allocations: 7.938 kB / 4.289 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/12.03, allocations: 20 kB / 4.289 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/12.03, allocations: 19.94 kB / 4.29 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007259/12.03, allocations: 0.5422 MB / 4.29 GB, free: 141 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.003383/12.03, allocations: 4.22 MB / 4.294 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005965/12.03, allocations: 442.4 kB / 4.295 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/12.03, allocations: 190.2 kB / 4.295 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004068/12.03, allocations: 323 kB / 4.295 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003688/12.03, allocations: 35.69 kB / 4.295 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/12.03, allocations: 0 / 4.295 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.003138/12.03, allocations: 1.361 MB / 4.296 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/12.03, allocations: 85.11 kB / 4.297 GB, free: 134 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/12.04, allocations: 1.02 MB / 4.298 GB, free: 133 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/12.04, allocations: 41.7 kB / 4.298 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/12.04, allocations: 488.8 kB / 4.298 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/12.04, allocations: 118.4 kB / 4.298 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/12.04, allocations: 12 kB / 4.298 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.209e-05/12.04, allocations: 322 kB / 4.298 GB, free: 132 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/12.04, allocations: 209 kB / 4.299 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/12.04, allocations: 0.5215 MB / 4.299 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/12.04, allocations: 321.7 kB / 4.299 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/12.04, allocations: 0 / 4.299 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001321/12.04, allocations: 0.961 MB / 4.3 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004284/12.04, allocations: 2.13 MB / 4.302 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/12.04, allocations: 12 kB / 4.303 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000539/12.04, allocations: 246.3 kB / 4.303 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/12.04, allocations: 75.83 kB / 4.303 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008277/12.04, allocations: 1.027 MB / 4.304 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000985/12.04, allocations: 87.81 kB / 4.304 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.024e-05/12.04, allocations: 27.98 kB / 4.304 GB, free: 126 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/12.04, allocations: 4 kB / 4.304 GB, free: 126 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001171/12.04, allocations: 0.7768 MB / 4.305 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/12.04, allocations: 4 kB / 4.305 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005272/12.04, allocations: 245.2 kB / 4.305 GB, free: 125 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/12.04, allocations: 67.91 kB / 4.305 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/12.05, allocations: 3.059 MB / 4.308 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009374/12.05, allocations: 95.77 kB / 4.308 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/12.05, allocations: 24 kB / 4.308 GB, free: 121.6 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.0006402/12.05, allocations: 460.7 kB / 4.309 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/12.05, allocations: 110.7 kB / 4.309 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/12.05, allocations: 0.7772 MB / 4.309 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/12.05, allocations: 11.94 kB / 4.309 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/12.05, allocations: 4 kB / 4.309 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/12.05, allocations: 3.938 kB / 4.309 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/12.05, allocations: 1.722 MB / 4.311 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/12.05, allocations: 0 / 4.311 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/12.05, allocations: 39.91 kB / 4.311 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004264/12.05, allocations: 240.8 kB / 4.311 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/12.05, allocations: 16.22 kB / 4.311 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006521/12.05, allocations: 0.9994 MB / 4.312 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/12.05, allocations: 0 / 4.312 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/12.05, allocations: 0.9843 MB / 4.313 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003787/12.05, allocations: 223.7 kB / 4.314 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/12.06, allocations: 15.98 kB / 4.314 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005698/12.06, allocations: 67.78 kB / 4.314 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/12.06, allocations: 35.84 kB / 4.314 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/12.06, allocations: 15.98 kB / 4.314 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000851/12.06, allocations: 0.8041 MB / 4.314 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/12.06, allocations: 4 kB / 4.314 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001495/12.06, allocations: 0.5387 MB / 4.315 GB, free: 114.3 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.002309/12.06, allocations: 2.714 MB / 4.318 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001723/12.06, allocations: 1.115 MB / 4.319 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/12.06, allocations: 0 / 4.319 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003968/12.06, allocations: 240 kB / 4.319 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002745/12.07, allocations: 0.6128 MB / 4.32 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009924/12.08, allocations: 10.06 MB / 4.329 GB, free: 99.17 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/12.08, allocations: 1.205 MB / 4.331 GB, free: 97.93 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001061/12.08, allocations: 304.4 kB / 4.331 GB, free: 97.63 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/12.08, allocations: 323.3 kB / 4.331 GB, free: 97.32 MB / 0.6823 GB Notification: Performance of SimCode: time 7.72e-07/12.08, allocations: 0 / 4.331 GB, free: 97.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4009/12.48, allocations: 44.36 MB / 4.374 GB, free: 53.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/12.48, allocations: 264 kB / 4.375 GB, free: 53 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.444/15.92, allocations: 6.953 kB / 4.375 GB, free: 53 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)