Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="IDEAS_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.007454/0.007455, allocations: 170.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8308/0.8308, allocations: 135.2 MB / 151 MB, free: 13.85 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.628/1.628, allocations: 223.2 MB / 406.9 MB, free: 3.254 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.001184/0.001184, allocations: 90.91 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 11.98 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5243/0.5247, allocations: 82.29 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.793/5.318, allocations: 1.832 GB / 2.482 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/5.318, allocations: 96.19 kB / 2.482 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.173/12.49, allocations: 1.998 GB / 4.48 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.507e-06/12.49, allocations: 0 / 4.48 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001446/12.49, allocations: 36.27 kB / 4.48 GB, free: 162.2 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.005805/12.5, allocations: 1.575 MB / 4.481 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/12.5, allocations: 9.125 kB / 4.481 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003623/12.5, allocations: 104 kB / 4.481 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/12.5, allocations: 204.3 kB / 4.481 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003944/12.5, allocations: 1.447 MB / 4.483 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.632e-05/12.5, allocations: 46.97 kB / 4.483 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/12.5, allocations: 63.31 kB / 4.483 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/12.5, allocations: 0.9557 MB / 4.484 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/12.5, allocations: 1.688 kB / 4.484 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/12.5, allocations: 24 kB / 4.484 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/12.5, allocations: 14.12 kB / 4.484 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/12.5, allocations: 0.7617 MB / 4.485 GB, free: 160.8 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.004346/12.51, allocations: 4.721 MB / 4.489 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/12.51, allocations: 4.067 MB / 4.493 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002787/12.51, allocations: 198 kB / 4.493 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004671/12.51, allocations: 332.3 kB / 4.494 GB, free: 153 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004702/12.51, allocations: 37.14 kB / 4.494 GB, free: 153 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.585e-06/12.51, allocations: 2.625 kB / 4.494 GB, free: 153 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.003021/12.52, allocations: 1.307 MB / 4.495 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/12.52, allocations: 87.95 kB / 4.495 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/12.52, allocations: 1.037 MB / 4.496 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/12.52, allocations: 41.33 kB / 4.496 GB, free: 152 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/12.52, allocations: 0.5251 MB / 4.497 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.677e-05/12.52, allocations: 122.2 kB / 4.497 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/12.52, allocations: 11.34 kB / 4.497 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.244e-05/12.52, allocations: 329.8 kB / 4.497 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/12.52, allocations: 210.5 kB / 4.497 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/12.52, allocations: 0.5524 MB / 4.498 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004006/12.52, allocations: 314.4 kB / 4.498 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/12.52, allocations: 7.266 kB / 4.498 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001365/12.52, allocations: 0.9664 MB / 4.499 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004524/12.52, allocations: 2.229 MB / 4.501 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/12.52, allocations: 7.031 kB / 4.501 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005101/12.52, allocations: 239.7 kB / 4.502 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/12.52, allocations: 85.41 kB / 4.502 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008033/12.52, allocations: 1.009 MB / 4.503 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/12.52, allocations: 103.8 kB / 4.503 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.23e-05/12.52, allocations: 31.36 kB / 4.503 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/12.52, allocations: 4.594 kB / 4.503 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00123/12.52, allocations: 0.7899 MB / 4.503 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/12.52, allocations: 3.875 kB / 4.503 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004871/12.52, allocations: 232.8 kB / 4.504 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/12.53, allocations: 78.48 kB / 4.504 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/12.53, allocations: 2.933 MB / 4.507 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/12.53, allocations: 100.7 kB / 4.507 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/12.53, allocations: 24.94 kB / 4.507 GB, free: 143.7 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.0006626/12.53, allocations: 483.3 kB / 4.507 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/12.53, allocations: 116.8 kB / 4.507 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/12.53, allocations: 0.7833 MB / 4.508 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/12.53, allocations: 9.594 kB / 4.508 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/12.53, allocations: 0 / 4.508 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/12.53, allocations: 0 / 4.508 GB, free: 142.9 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.002711/12.53, allocations: 2.144 MB / 4.51 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/12.53, allocations: 0 / 4.51 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/12.53, allocations: 55.81 kB / 4.51 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003394/12.53, allocations: 176.3 kB / 4.51 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/12.53, allocations: 15.94 kB / 4.51 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005533/12.54, allocations: 0.8548 MB / 4.511 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/12.54, allocations: 4.031 kB / 4.511 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/12.54, allocations: 0.9588 MB / 4.512 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004662/12.54, allocations: 231.7 kB / 4.512 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/12.54, allocations: 15.94 kB / 4.512 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006413/12.54, allocations: 80.09 kB / 4.513 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-05/12.54, allocations: 35.89 kB / 4.513 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/12.54, allocations: 23.52 kB / 4.513 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009405/12.54, allocations: 0.8249 MB / 4.513 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/12.54, allocations: 0 / 4.513 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001814/12.54, allocations: 0.602 MB / 4.514 GB, free: 137.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) * 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.002728/12.54, allocations: 2.949 MB / 4.517 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001825/12.55, allocations: 1.139 MB / 4.518 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/12.55, allocations: 0 / 4.518 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003903/12.55, allocations: 259.5 kB / 4.518 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/12.55, allocations: 0.6494 MB / 4.519 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/12.56, allocations: 10.42 MB / 4.529 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006381/12.56, allocations: 1.239 MB / 4.53 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001261/12.56, allocations: 388.2 kB / 4.531 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000398/12.56, allocations: 363.3 kB / 4.531 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.152e-06/12.56, allocations: 0 / 4.531 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07195/12.63, allocations: 47.37 MB / 4.577 GB, free: 73.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/12.63, allocations: 270.2 kB / 4.577 GB, free: 73.07 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.62/16.25, allocations: 2.672 kB / 4.577 GB, free: 73.07 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)