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.00105/0.001051, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8423/0.8423, allocations: 133.4 MB / 146.7 MB, free: 10.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.491/1.491, allocations: 221.3 MB / 400.4 MB, free: 5.801 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 87.41 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.158e-05/5.163e-05, allocations: 2.906 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1905, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.833/5.023, allocations: 1.832 GB / 2.473 GB, free: 63.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/5.024, allocations: 89.77 kB / 2.473 GB, free: 62.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.279/13.3, allocations: 1.996 GB / 4.469 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.333e-06/13.3, allocations: 3.844 kB / 4.469 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001415/13.3, allocations: 30.52 kB / 4.469 GB, free: 156.3 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.00375/13.31, allocations: 1.282 MB / 4.47 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/13.31, allocations: 7.562 kB / 4.47 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001994/13.31, allocations: 105.3 kB / 4.47 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009096/13.31, allocations: 193.7 kB / 4.471 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/13.31, allocations: 1.439 MB / 4.472 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/13.31, allocations: 43.34 kB / 4.472 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/13.31, allocations: 70.77 kB / 4.472 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/13.31, allocations: 0.9274 MB / 4.473 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/13.31, allocations: 7.922 kB / 4.473 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/13.31, allocations: 23.62 kB / 4.473 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/13.31, allocations: 14.78 kB / 4.473 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00089/13.31, allocations: 0.7054 MB / 4.474 GB, free: 153.3 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.003596/13.32, allocations: 4.734 MB / 4.478 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/13.32, allocations: 4.023 MB / 4.482 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/13.32, allocations: 320.8 kB / 4.483 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/13.32, allocations: 201.7 kB / 4.483 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003652/13.32, allocations: 307.7 kB / 4.483 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000307/13.32, allocations: 36.19 kB / 4.483 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.064e-06/13.32, allocations: 0 / 4.483 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001249/13.32, allocations: 0.7229 MB / 4.484 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/13.32, allocations: 87.77 kB / 4.484 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/13.32, allocations: 1.032 MB / 4.485 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/13.32, allocations: 33.7 kB / 4.485 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/13.32, allocations: 0.5089 MB / 4.485 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.132e-05/13.32, allocations: 133.1 kB / 4.486 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/13.32, allocations: 8 kB / 4.486 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/13.32, allocations: 325.9 kB / 4.486 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/13.32, allocations: 193 kB / 4.486 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005588/13.32, allocations: 0.5266 MB / 4.487 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006079/13.32, allocations: 309.3 kB / 4.487 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/13.32, allocations: 3.594 kB / 4.487 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001195/13.33, allocations: 0.9342 MB / 4.488 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004322/13.33, allocations: 2.216 MB / 4.49 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/13.33, allocations: 8 kB / 4.49 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005021/13.33, allocations: 235.3 kB / 4.49 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/13.33, allocations: 82.47 kB / 4.49 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008025/13.33, allocations: 1.001 MB / 4.491 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008884/13.33, allocations: 101.7 kB / 4.491 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.309e-05/13.33, allocations: 35.92 kB / 4.491 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/13.33, allocations: 4.781 kB / 4.491 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001318/13.33, allocations: 0.7406 MB / 4.492 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/13.33, allocations: 8 kB / 4.492 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004829/13.33, allocations: 227.6 kB / 4.492 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/13.33, allocations: 75.89 kB / 4.492 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/13.33, allocations: 2.878 MB / 4.495 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008116/13.33, allocations: 107.9 kB / 4.495 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/13.33, allocations: 24 kB / 4.495 GB, free: 131.5 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 () * 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.0001405/13.33, allocations: 145.5 kB / 4.495 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/13.34, allocations: 110.6 kB / 4.496 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/13.34, allocations: 0.7394 MB / 4.496 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/13.34, allocations: 7.562 kB / 4.496 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/13.34, allocations: 7.938 kB / 4.496 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/13.34, allocations: 7.453 kB / 4.496 GB, free: 130.5 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.002319/13.34, allocations: 2.109 MB / 4.498 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/13.34, allocations: 4 kB / 4.498 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/13.34, allocations: 51.81 kB / 4.498 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003322/13.34, allocations: 183.3 kB / 4.499 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/13.34, allocations: 12 kB / 4.499 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005741/13.34, allocations: 0.8439 MB / 4.499 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/13.34, allocations: 4 kB / 4.499 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009061/13.34, allocations: 0.9312 MB / 4.5 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/13.34, allocations: 227.7 kB / 4.501 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/13.34, allocations: 19.95 kB / 4.501 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006495/13.34, allocations: 79.19 kB / 4.501 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.215e-05/13.34, allocations: 35.89 kB / 4.501 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/13.34, allocations: 12 kB / 4.501 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008666/13.34, allocations: 0.8104 MB / 4.501 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/13.34, allocations: 0 / 4.501 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001995/13.34, allocations: 0.5972 MB / 4.502 GB, free: 124.3 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) * 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.003114/13.35, allocations: 2.905 MB / 4.505 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001675/13.35, allocations: 1.108 MB / 4.506 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/13.35, allocations: 0 / 4.506 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003161/13.35, allocations: 232.2 kB / 4.506 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/13.35, allocations: 0.6519 MB / 4.507 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/13.36, allocations: 1.765 MB / 4.509 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006422/13.36, allocations: 1.243 MB / 4.51 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002656/13.36, allocations: 0.8166 MB / 4.511 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004582/13.36, allocations: 339.3 kB / 4.511 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of SimCode: time 9.32e-07/13.36, allocations: 0 / 4.511 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07813/13.44, allocations: 51.58 MB / 4.561 GB, free: 64.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/13.44, allocations: 248.4 kB / 4.561 GB, free: 64.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.938/17.38, allocations: 7.875 kB / 4.561 GB, free: 64.13 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)