Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",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.001427/0.001427, allocations: 172 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8493/0.8493, allocations: 133.6 MB / 141.6 MB, free: 2.914 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.0008211/0.000821, allocations: 106.6 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.866e-05, allocations: 4 kB / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4298, allocations: 82.3 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.682/5.112, allocations: 1.834 GB / 2.468 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/5.112, allocations: 88.84 kB / 2.468 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.694/11.81, allocations: 1.796 GB / 4.264 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.613e-06/11.81, allocations: 6.266 kB / 4.264 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001945/11.81, allocations: 29.05 kB / 4.264 GB, free: 183.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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.004957/11.81, allocations: 1.241 MB / 4.265 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/11.81, allocations: 10.06 kB / 4.265 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/11.81, allocations: 186.3 kB / 4.265 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004268/11.82, allocations: 1.412 MB / 4.267 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/11.82, allocations: 15.62 kB / 4.267 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/11.82, allocations: 35.16 kB / 4.267 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000852/11.82, allocations: 492.4 kB / 4.267 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009851/11.82, allocations: 0.6993 MB / 4.268 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/11.82, allocations: 0 / 4.268 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/11.82, allocations: 3.094 kB / 4.268 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/11.82, allocations: 13.56 kB / 4.268 GB, free: 182.6 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.004211/11.82, allocations: 4.096 MB / 4.272 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/11.82, allocations: 442 kB / 4.272 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003495/11.82, allocations: 316.8 kB / 4.273 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002742/11.82, allocations: 189.4 kB / 4.273 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003784/11.82, allocations: 276.9 kB / 4.273 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000464/11.83, allocations: 12.34 kB / 4.273 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 4.058e-06/11.83, allocations: 0 / 4.273 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001193/11.83, allocations: 0.5092 MB / 4.274 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/11.83, allocations: 80.61 kB / 4.274 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/11.83, allocations: 0.8519 MB / 4.275 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.96e-05/11.83, allocations: 29.02 kB / 4.275 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000504/11.83, allocations: 490.8 kB / 4.275 GB, free: 179 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/11.83, allocations: 113.1 kB / 4.275 GB, free: 179 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/11.83, allocations: 6.719 kB / 4.275 GB, free: 179 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001256/11.83, allocations: 322.8 kB / 4.275 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/11.83, allocations: 191.9 kB / 4.276 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005933/11.83, allocations: 0.5056 MB / 4.276 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/11.83, allocations: 280.4 kB / 4.276 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/11.83, allocations: 3.625 kB / 4.276 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00132/11.83, allocations: 0.6441 MB / 4.277 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001001/11.83, allocations: 2.135 MB / 4.279 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/11.83, allocations: 6.281 kB / 4.279 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.983e-05/11.83, allocations: 6.344 kB / 4.279 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/11.83, allocations: 114.8 kB / 4.279 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-05/11.83, allocations: 13.62 kB / 4.279 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/11.83, allocations: 77.7 kB / 4.279 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.575e-05/11.83, allocations: 38 kB / 4.279 GB, free: 176 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/11.83, allocations: 3.938 kB / 4.279 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007215/11.84, allocations: 433.7 kB / 4.28 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/11.84, allocations: 9.828 kB / 4.28 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/11.84, allocations: 10.75 kB / 4.28 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000456/11.84, allocations: 111.8 kB / 4.28 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/11.84, allocations: 18.89 kB / 4.28 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/11.84, allocations: 76.83 kB / 4.28 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/11.84, allocations: 22.19 kB / 4.28 GB, free: 176 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001839/11.84, allocations: 123.8 kB / 4.28 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006545/11.84, allocations: 438.8 kB / 4.281 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/11.84, allocations: 95.83 kB / 4.281 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008345/11.84, allocations: 472.9 kB / 4.281 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/11.84, allocations: 7.188 kB / 4.281 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/11.84, allocations: 0 / 4.281 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/11.84, allocations: 0 / 4.281 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/11.84, allocations: 1.339 MB / 4.282 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/11.84, allocations: 5.531 kB / 4.282 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/11.84, allocations: 80.91 kB / 4.282 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/11.84, allocations: 3.75 kB / 4.282 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/11.84, allocations: 13.05 kB / 4.283 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/11.84, allocations: 4.375 kB / 4.283 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/11.84, allocations: 6.391 kB / 4.283 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006387/11.84, allocations: 0.662 MB / 4.283 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/11.84, allocations: 214.1 kB / 4.283 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/11.84, allocations: 3.781 kB / 4.283 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007562/11.84, allocations: 73.3 kB / 4.283 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/11.84, allocations: 30.58 kB / 4.283 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/11.84, allocations: 11.69 kB / 4.283 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008036/11.84, allocations: 0.6735 MB / 4.284 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/11.84, allocations: 2.562 kB / 4.284 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001582/11.85, allocations: 473.1 kB / 4.285 GB, free: 174.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002601/11.85, allocations: 2.687 MB / 4.287 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001129/11.85, allocations: 0.8066 MB / 4.288 GB, free: 173 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/11.85, allocations: 0 / 4.288 GB, free: 173 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002694/11.85, allocations: 202.5 kB / 4.288 GB, free: 173 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/11.85, allocations: 0.5398 MB / 4.289 GB, free: 173 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/11.86, allocations: 1.617 MB / 4.29 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006272/11.86, allocations: 1.205 MB / 4.291 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00204/11.86, allocations: 0.7617 MB / 4.292 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004133/11.86, allocations: 313.8 kB / 4.293 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.223e-06/11.86, allocations: 0 / 4.293 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06215/11.92, allocations: 32.13 MB / 4.324 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/11.92, allocations: 178.2 kB / 4.324 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.933/14.85, allocations: 0 / 4.324 GB, free: 169.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)