Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.001357/0.001357, 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.8942/0.8942, 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.579/1.579, 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.00102/0.00102, allocations: 85.38 kB / 483.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.371e-05/4.374e-05, allocations: 6.094 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1695, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.885/5.054, allocations: 1.832 GB / 2.473 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/5.055, allocations: 98.56 kB / 2.473 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.485/12.54, allocations: 1.8 GB / 4.273 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.034e-06/12.54, allocations: 0 / 4.273 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001565/12.54, allocations: 31.98 kB / 4.273 GB, free: 127.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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002387/12.54, allocations: 1.146 MB / 4.274 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/12.54, allocations: 8.031 kB / 4.274 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002229/12.54, allocations: 98.52 kB / 4.274 GB, free: 126 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/12.54, allocations: 182.5 kB / 4.275 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/12.55, allocations: 1.065 MB / 4.276 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/12.55, allocations: 49 kB / 4.276 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/12.55, allocations: 67.89 kB / 4.276 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009609/12.55, allocations: 0.7338 MB / 4.276 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/12.55, allocations: 3.938 kB / 4.276 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-05/12.55, allocations: 28 kB / 4.277 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/12.55, allocations: 12 kB / 4.277 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/12.55, allocations: 478.5 kB / 4.277 GB, free: 123.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.004186/12.55, allocations: 4.598 MB / 4.281 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/12.55, allocations: 387.1 kB / 4.282 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/12.55, allocations: 225.6 kB / 4.282 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002695/12.55, allocations: 194.2 kB / 4.282 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003264/12.55, allocations: 261.2 kB / 4.282 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 3.206e-06/12.55, allocations: 0 / 4.282 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.0009439/12.55, allocations: 462 kB / 4.283 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/12.55, allocations: 89.09 kB / 4.283 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/12.56, allocations: 0.9724 MB / 4.284 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/12.56, allocations: 33.7 kB / 4.284 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/12.56, allocations: 496.5 kB / 4.284 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.918e-05/12.56, allocations: 106.4 kB / 4.285 GB, free: 115 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/12.56, allocations: 8 kB / 4.285 GB, free: 115 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.986e-05/12.56, allocations: 341.9 kB / 4.285 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/12.56, allocations: 160.8 kB / 4.285 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/12.56, allocations: 493.7 kB / 4.286 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/12.56, allocations: 263.5 kB / 4.286 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/12.56, allocations: 11.94 kB / 4.286 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008799/12.56, allocations: 0.6395 MB / 4.286 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004262/12.56, allocations: 2.135 MB / 4.288 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/12.56, allocations: 4 kB / 4.288 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/12.56, allocations: 12 kB / 4.289 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/12.56, allocations: 115.8 kB / 4.289 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/12.56, allocations: 11.95 kB / 4.289 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008948/12.56, allocations: 107.4 kB / 4.289 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/12.56, allocations: 24 kB / 4.289 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/12.56, allocations: 5.094 kB / 4.289 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000597/12.56, allocations: 497.5 kB / 4.289 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/12.56, allocations: 8.062 kB / 4.289 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/12.56, allocations: 15.98 kB / 4.289 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/12.56, allocations: 107.8 kB / 4.289 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/12.56, allocations: 7.984 kB / 4.289 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008382/12.56, allocations: 103.5 kB / 4.289 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/12.56, allocations: 27.94 kB / 4.289 GB, free: 109.6 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 (53): * Single equations (assignments): 52 * 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.0001318/12.56, allocations: 145.5 kB / 4.29 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/12.56, allocations: 102.7 kB / 4.29 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006827/12.56, allocations: 470.8 kB / 4.29 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/12.56, allocations: 4 kB / 4.29 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/12.56, allocations: 0 / 4.29 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/12.56, allocations: 3.984 kB / 4.29 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/12.56, allocations: 1.352 MB / 4.292 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/12.56, allocations: 4 kB / 4.292 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/12.56, allocations: 68.11 kB / 4.292 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/12.57, allocations: 4 kB / 4.292 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/12.57, allocations: 8 kB / 4.292 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/12.57, allocations: 4 kB / 4.292 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/12.57, allocations: 7.938 kB / 4.292 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005928/12.57, allocations: 0.6581 MB / 4.292 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004144/12.57, allocations: 227.7 kB / 4.292 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/12.57, allocations: 8 kB / 4.292 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/12.57, allocations: 55.84 kB / 4.293 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/12.57, allocations: 31.86 kB / 4.293 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/12.57, allocations: 11.98 kB / 4.293 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008511/12.57, allocations: 0.7727 MB / 4.293 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/12.57, allocations: 0 / 4.293 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001483/12.57, allocations: 479.6 kB / 4.294 GB, free: 105 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 (31): * Single equations (assignments): 29 * 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.002129/12.57, allocations: 2.47 MB / 4.296 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000983/12.57, allocations: 0.7783 MB / 4.297 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/12.57, allocations: 0 / 4.297 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/12.57, allocations: 184.9 kB / 4.297 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/12.57, allocations: 466.3 kB / 4.298 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/12.58, allocations: 1.64 MB / 4.299 GB, free: 99.36 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005617/12.58, allocations: 1.203 MB / 4.3 GB, free: 98.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001951/12.58, allocations: 0.8426 MB / 4.301 GB, free: 97.28 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/12.58, allocations: 303.3 kB / 4.301 GB, free: 96.98 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/12.58, allocations: 4 kB / 4.301 GB, free: 96.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9958/13.58, allocations: 42.95 MB / 4.343 GB, free: 54.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/13.58, allocations: 206.9 kB / 4.344 GB, free: 54.09 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.408/16.98, allocations: 0 / 4.344 GB, free: 54.09 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)