Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",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.009218/0.009218, allocations: 169.4 kB / 15.12 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8549/0.8549, allocations: 135.2 MB / 151.1 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.54/1.54, allocations: 223.2 MB / 406.9 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.0009574/0.0009572, allocations: 85.62 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003785, allocations: 15.98 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.476, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.719/5.195, allocations: 1.832 GB / 2.482 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/5.196, allocations: 95.48 kB / 2.482 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.752/11.95, allocations: 1.998 GB / 4.48 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.434e-06/11.95, allocations: 0 / 4.48 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001685/11.95, allocations: 36.62 kB / 4.48 GB, free: 160.5 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.005399/11.95, allocations: 1.576 MB / 4.481 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/11.95, allocations: 13.56 kB / 4.481 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003536/11.95, allocations: 98.58 kB / 4.481 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/11.95, allocations: 198.5 kB / 4.481 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004884/11.96, allocations: 1.444 MB / 4.483 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.858e-05/11.96, allocations: 57.62 kB / 4.483 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/11.96, allocations: 68.52 kB / 4.483 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/11.96, allocations: 0.9522 MB / 4.484 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/11.96, allocations: 3.656 kB / 4.484 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/11.96, allocations: 28.11 kB / 4.484 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/11.96, allocations: 17.53 kB / 4.484 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/11.96, allocations: 0.7568 MB / 4.485 GB, free: 159.2 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.006376/11.97, allocations: 4.719 MB / 4.489 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/11.97, allocations: 4.067 MB / 4.493 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003543/11.97, allocations: 196.3 kB / 4.493 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00065/11.97, allocations: 329.3 kB / 4.494 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005925/11.97, allocations: 33.7 kB / 4.494 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 4.579e-06/11.97, allocations: 3.281 kB / 4.494 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.004804/11.98, allocations: 1.31 MB / 4.495 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/11.98, allocations: 87.05 kB / 4.495 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/11.98, allocations: 1.046 MB / 4.496 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-05/11.98, allocations: 41.3 kB / 4.496 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005343/11.98, allocations: 0.5126 MB / 4.497 GB, free: 151 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/11.98, allocations: 118 kB / 4.497 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/11.98, allocations: 15.81 kB / 4.497 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.679e-05/11.98, allocations: 324.5 kB / 4.497 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005265/11.98, allocations: 213.7 kB / 4.497 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007785/11.98, allocations: 0.5512 MB / 4.498 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/11.98, allocations: 329.2 kB / 4.498 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/11.98, allocations: 3.5 kB / 4.498 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002341/11.99, allocations: 0.9704 MB / 4.499 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000501/11.99, allocations: 2.225 MB / 4.501 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/11.99, allocations: 6.375 kB / 4.501 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007991/11.99, allocations: 233 kB / 4.502 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/11.99, allocations: 85.67 kB / 4.502 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/11.99, allocations: 1.001 MB / 4.503 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/11.99, allocations: 103.6 kB / 4.503 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.564e-05/11.99, allocations: 26.75 kB / 4.503 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/11.99, allocations: 5.938 kB / 4.503 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001957/11.99, allocations: 0.7952 MB / 4.503 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/11.99, allocations: 3.969 kB / 4.503 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007455/11.99, allocations: 230.7 kB / 4.504 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/12, allocations: 81.45 kB / 4.504 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004735/12, allocations: 2.941 MB / 4.507 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/12, allocations: 98.72 kB / 4.507 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/12, allocations: 33.16 kB / 4.507 GB, free: 145.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (40): * Single equations (assignments): 38 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0009636/12, allocations: 474.8 kB / 4.507 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003231/12, allocations: 123.4 kB / 4.507 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/12.01, allocations: 0.7843 MB / 4.508 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/12.01, allocations: 11.06 kB / 4.508 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/12.01, allocations: 0 / 4.508 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/12.01, allocations: 3.703 kB / 4.508 GB, free: 145.4 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 postOpt removeSimpleEquations (simulation): time 0.004395/12.01, allocations: 2.139 MB / 4.51 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/12.01, allocations: 0 / 4.51 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/12.01, allocations: 54.95 kB / 4.51 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005482/12.01, allocations: 182.3 kB / 4.51 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/12.01, allocations: 6.438 kB / 4.51 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009262/12.01, allocations: 0.854 MB / 4.511 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/12.01, allocations: 3.188 kB / 4.511 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/12.01, allocations: 0.9614 MB / 4.512 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006115/12.01, allocations: 232 kB / 4.512 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/12.01, allocations: 6.656 kB / 4.512 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007785/12.01, allocations: 89.64 kB / 4.513 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/12.01, allocations: 38.27 kB / 4.513 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/12.01, allocations: 12.28 kB / 4.513 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001648/12.02, allocations: 0.825 MB / 4.513 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/12.02, allocations: 0 / 4.513 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003136/12.02, allocations: 0.6006 MB / 4.514 GB, free: 143.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (26): * Single equations (assignments): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.004121/12.02, allocations: 2.951 MB / 4.517 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002812/12.03, allocations: 1.142 MB / 4.518 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/12.03, allocations: 3.75 kB / 4.518 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006898/12.03, allocations: 253.2 kB / 4.518 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005011/12.03, allocations: 0.6512 MB / 4.519 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01847/12.05, allocations: 10.44 MB / 4.529 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007637/12.05, allocations: 1.238 MB / 4.53 GB, free: 135 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001985/12.05, allocations: 388.6 kB / 4.531 GB, free: 135 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006286/12.05, allocations: 356.8 kB / 4.531 GB, free: 135 MB / 0.6823 GB Notification: Performance of SimCode: time 1.743e-06/12.05, allocations: 3.938 kB / 4.531 GB, free: 135 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09779/12.15, allocations: 47.37 MB / 4.577 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000278/12.15, allocations: 276.6 kB / 4.577 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.755/15.91, allocations: 3.094 kB / 4.577 GB, free: 100.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)