Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",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.002277/0.002277, allocations: 174.1 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.7467/0.7467, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.498/1.498, allocations: 221.3 MB / 400.4 MB, free: 5.859 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.001009/0.001009, allocations: 101.2 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.207e-05/4.216e-05, allocations: 2.531 kB / 0.5601 GB, free: 87.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1893, allocations: 82.31 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.702/4.892, allocations: 1.835 GB / 2.475 GB, free: 60.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/4.892, allocations: 95.5 kB / 2.475 GB, free: 60.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.915/12.81, allocations: 2.006 GB / 4.482 GB, free: 144 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.553e-06/12.81, allocations: 0 / 4.482 GB, free: 144 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001972/12.81, allocations: 34.33 kB / 4.482 GB, free: 144 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004646/12.81, allocations: 1.276 MB / 4.483 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/12.81, allocations: 8.031 kB / 4.483 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003905/12.81, allocations: 109.4 kB / 4.483 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/12.81, allocations: 201.2 kB / 4.483 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004324/12.82, allocations: 1.44 MB / 4.485 GB, free: 141 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.31e-05/12.82, allocations: 49.31 kB / 4.485 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/12.82, allocations: 68 kB / 4.485 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/12.82, allocations: 0.9242 MB / 4.486 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/12.82, allocations: 7.938 kB / 4.486 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.639e-05/12.82, allocations: 27.98 kB / 4.486 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/12.82, allocations: 19.94 kB / 4.486 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/12.82, allocations: 0.7014 MB / 4.487 GB, free: 139.1 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.004826/12.83, allocations: 4.693 MB / 4.491 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/12.83, allocations: 3.972 MB / 4.495 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003706/12.83, allocations: 321.7 kB / 4.495 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/12.83, allocations: 196.1 kB / 4.496 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003805/12.83, allocations: 311.3 kB / 4.496 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005287/12.83, allocations: 23.75 kB / 4.496 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 3.095e-06/12.83, allocations: 0 / 4.496 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001476/12.83, allocations: 0.7543 MB / 4.497 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/12.83, allocations: 85.11 kB / 4.497 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/12.83, allocations: 1.036 MB / 4.498 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.741e-05/12.83, allocations: 40.27 kB / 4.498 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/12.83, allocations: 0.5135 MB / 4.498 GB, free: 126 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.237e-05/12.83, allocations: 128.7 kB / 4.498 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/12.83, allocations: 12 kB / 4.498 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.183e-05/12.83, allocations: 329.9 kB / 4.499 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/12.83, allocations: 185 kB / 4.499 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/12.83, allocations: 0.537 MB / 4.499 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/12.83, allocations: 307.7 kB / 4.5 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/12.83, allocations: 4 kB / 4.5 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001413/12.83, allocations: 0.9525 MB / 4.501 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004493/12.84, allocations: 2.231 MB / 4.503 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/12.84, allocations: 4 kB / 4.503 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/12.84, allocations: 266.9 kB / 4.503 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/12.84, allocations: 74.98 kB / 4.503 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009047/12.84, allocations: 1.046 MB / 4.504 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/12.84, allocations: 110 kB / 4.504 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/12.84, allocations: 24 kB / 4.504 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/12.84, allocations: 4 kB / 4.504 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001153/12.84, allocations: 0.7727 MB / 4.505 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/12.84, allocations: 11.12 kB / 4.505 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005782/12.84, allocations: 249.5 kB / 4.505 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/12.84, allocations: 83.81 kB / 4.505 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/12.84, allocations: 3.074 MB / 4.508 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/12.85, allocations: 103.2 kB / 4.508 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.297e-05/12.85, allocations: 24 kB / 4.508 GB, free: 115.1 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 (37): * Single equations (assignments): 35 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001977/12.85, allocations: 157.2 kB / 4.509 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000276/12.85, allocations: 110.6 kB / 4.509 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/12.85, allocations: 0.778 MB / 4.509 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/12.85, allocations: 7.953 kB / 4.51 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/12.85, allocations: 3.938 kB / 4.51 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/12.85, allocations: 3.984 kB / 4.51 GB, free: 114.1 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.002927/12.85, allocations: 2.155 MB / 4.512 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/12.85, allocations: 4 kB / 4.512 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/12.85, allocations: 51.89 kB / 4.512 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004122/12.85, allocations: 204.7 kB / 4.512 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/12.85, allocations: 8 kB / 4.512 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005954/12.85, allocations: 0.8722 MB / 4.513 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/12.85, allocations: 8.094 kB / 4.513 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/12.85, allocations: 0.9566 MB / 4.514 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005918/12.85, allocations: 231.7 kB / 4.514 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/12.85, allocations: 19.94 kB / 4.514 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009171/12.85, allocations: 79.75 kB / 4.514 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/12.85, allocations: 35.95 kB / 4.514 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/12.85, allocations: 12 kB / 4.514 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001126/12.86, allocations: 0.8184 MB / 4.515 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.1e-07/12.86, allocations: 0 / 4.515 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002278/12.86, allocations: 0.605 MB / 4.515 GB, free: 107.8 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 (23): * Single equations (assignments): 20 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.002884/12.86, allocations: 2.958 MB / 4.518 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001852/12.86, allocations: 1.124 MB / 4.519 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/12.86, allocations: 0 / 4.519 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003756/12.86, allocations: 249.1 kB / 4.52 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/12.87, allocations: 0.6404 MB / 4.52 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/12.87, allocations: 1.772 MB / 4.522 GB, free: 101 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008367/12.87, allocations: 1.242 MB / 4.523 GB, free: 99.73 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002218/12.87, allocations: 0.7998 MB / 4.524 GB, free: 98.94 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/12.87, allocations: 339.3 kB / 4.524 GB, free: 98.61 MB / 0.6823 GB Notification: Performance of SimCode: time 8.42e-07/12.87, allocations: 7.938 kB / 4.524 GB, free: 98.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08293/12.96, allocations: 52.86 MB / 4.576 GB, free: 46.12 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/12.96, allocations: 245.4 kB / 4.576 GB, free: 45.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.958/16.92, allocations: 9.938 kB / 4.576 GB, free: 45.79 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)