Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="IDEAS_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.001801/0.001801, 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.7791/0.7791, allocations: 133.4 MB / 146.7 MB, free: 10.76 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.506/1.506, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.0008973/0.0008973, allocations: 88.27 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.823e-05/3.825e-05, allocations: 3.281 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1569, allocations: 82.31 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.715/4.872, allocations: 1.835 GB / 2.475 GB, free: 68.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/4.872, allocations: 96.44 kB / 2.475 GB, free: 68.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.379/13.25, allocations: 2.006 GB / 4.482 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.372e-06/13.25, allocations: 0 / 4.482 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002057/13.25, allocations: 34 kB / 4.482 GB, free: 150.7 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.005032/13.26, allocations: 1.28 MB / 4.483 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/13.26, allocations: 11.59 kB / 4.483 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004871/13.26, allocations: 96.45 kB / 4.483 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/13.26, allocations: 198.8 kB / 4.483 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004939/13.26, allocations: 1.453 MB / 4.485 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.613e-05/13.26, allocations: 51.25 kB / 4.485 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002348/13.26, allocations: 63.66 kB / 4.485 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/13.27, allocations: 0.9324 MB / 4.486 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/13.27, allocations: 0 / 4.486 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-05/13.27, allocations: 24 kB / 4.486 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/13.27, allocations: 12 kB / 4.486 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/13.27, allocations: 0.7139 MB / 4.487 GB, free: 146.8 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.006241/13.27, allocations: 4.697 MB / 4.491 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/13.28, allocations: 3.967 MB / 4.495 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/13.28, allocations: 316.7 kB / 4.495 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002991/13.28, allocations: 197.3 kB / 4.496 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004013/13.28, allocations: 308.7 kB / 4.496 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005682/13.28, allocations: 31.75 kB / 4.496 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 3.948e-06/13.28, allocations: 2.938 kB / 4.496 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001626/13.28, allocations: 0.7514 MB / 4.497 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/13.28, allocations: 85.05 kB / 4.497 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/13.28, allocations: 1.039 MB / 4.498 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.975e-05/13.28, allocations: 36.61 kB / 4.498 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/13.28, allocations: 0.5124 MB / 4.498 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/13.28, allocations: 132.7 kB / 4.498 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/13.28, allocations: 8 kB / 4.498 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.427e-05/13.28, allocations: 329.9 kB / 4.499 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/13.28, allocations: 193 kB / 4.499 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/13.28, allocations: 0.5301 MB / 4.499 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/13.28, allocations: 306.2 kB / 4.5 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/13.28, allocations: 0 / 4.5 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001462/13.28, allocations: 0.9637 MB / 4.501 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005688/13.28, allocations: 2.236 MB / 4.503 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/13.28, allocations: 8 kB / 4.503 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005954/13.28, allocations: 263.3 kB / 4.503 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/13.29, allocations: 71.89 kB / 4.503 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009451/13.29, allocations: 1.046 MB / 4.504 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/13.29, allocations: 99.09 kB / 4.504 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-05/13.29, allocations: 35.94 kB / 4.504 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/13.29, allocations: 7.938 kB / 4.504 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001182/13.29, allocations: 0.7647 MB / 4.505 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/13.29, allocations: 4 kB / 4.505 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005816/13.29, allocations: 254.3 kB / 4.505 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/13.29, allocations: 83.38 kB / 4.505 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/13.29, allocations: 3.063 MB / 4.508 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/13.29, allocations: 107.2 kB / 4.508 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/13.29, allocations: 28 kB / 4.508 GB, free: 122.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 () * 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.0001777/13.29, allocations: 149 kB / 4.509 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/13.29, allocations: 106.7 kB / 4.509 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/13.3, allocations: 0.7743 MB / 4.509 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/13.3, allocations: 4 kB / 4.509 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/13.3, allocations: 3.953 kB / 4.509 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/13.3, allocations: 3.984 kB / 4.509 GB, free: 121.8 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.002919/13.3, allocations: 2.167 MB / 4.512 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/13.3, allocations: 0 / 4.512 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/13.3, allocations: 51.95 kB / 4.512 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004294/13.3, allocations: 201.5 kB / 4.512 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/13.3, allocations: 11.98 kB / 4.512 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006522/13.3, allocations: 0.881 MB / 4.513 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/13.3, allocations: 3.938 kB / 4.513 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/13.3, allocations: 0.9587 MB / 4.514 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005267/13.3, allocations: 235.7 kB / 4.514 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/13.3, allocations: 15.92 kB / 4.514 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000813/13.3, allocations: 85.48 kB / 4.514 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/13.3, allocations: 34.34 kB / 4.514 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/13.3, allocations: 15.98 kB / 4.514 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001019/13.3, allocations: 0.8145 MB / 4.515 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.8e-07/13.3, allocations: 0 / 4.515 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002305/13.31, allocations: 0.605 MB / 4.515 GB, free: 115.5 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.003548/13.31, allocations: 2.949 MB / 4.518 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002073/13.31, allocations: 1.12 MB / 4.519 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/13.31, allocations: 0 / 4.519 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003958/13.31, allocations: 248 kB / 4.52 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/13.32, allocations: 0.646 MB / 4.52 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/13.32, allocations: 1.783 MB / 4.522 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/13.32, allocations: 1.234 MB / 4.523 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002229/13.32, allocations: 0.7997 MB / 4.524 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003787/13.32, allocations: 343.3 kB / 4.524 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of SimCode: time 8.92e-07/13.32, allocations: 0 / 4.524 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08142/13.4, allocations: 52.85 MB / 4.576 GB, free: 54.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/13.4, allocations: 242.2 kB / 4.576 GB, free: 53.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.67/17.07, allocations: 4 kB / 4.576 GB, free: 53.7 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)