Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.01391/0.01391, allocations: 171.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9495/0.9495, allocations: 135.2 MB / 151 MB, free: 13.84 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.638/1.638, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.0009139/0.0009138, allocations: 87.34 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003479, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4991/0.4995, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.616/5.116, allocations: 1.835 GB / 2.484 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/5.116, allocations: 95.94 kB / 2.484 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.985/11.1, allocations: 1.814 GB / 4.298 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.324e-06/11.1, allocations: 0 / 4.298 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001009/11.1, allocations: 27.98 kB / 4.298 GB, free: 128.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.002859/11.1, allocations: 1.442 MB / 4.3 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/11.1, allocations: 15.97 kB / 4.3 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/11.1, allocations: 98.52 kB / 4.3 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007052/11.11, allocations: 182.5 kB / 4.3 GB, free: 127 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/11.11, allocations: 1.108 MB / 4.301 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/11.11, allocations: 45 kB / 4.301 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.456e-05/11.11, allocations: 63.94 kB / 4.301 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009608/11.11, allocations: 0.7693 MB / 4.302 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/11.11, allocations: 0 / 4.302 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.866e-05/11.11, allocations: 24 kB / 4.302 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/11.11, allocations: 12 kB / 4.302 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000713/11.11, allocations: 0.5149 MB / 4.302 GB, free: 124.3 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.003324/11.11, allocations: 4.587 MB / 4.307 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005932/11.11, allocations: 422.4 kB / 4.307 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002994/11.11, allocations: 201.7 kB / 4.308 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004165/11.11, allocations: 290.4 kB / 4.308 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.745e-06/11.11, allocations: 7.922 kB / 4.308 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.002786/11.12, allocations: 1.216 MB / 4.309 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/11.12, allocations: 81.11 kB / 4.309 GB, free: 117 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/11.12, allocations: 0.9876 MB / 4.31 GB, free: 116 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/11.12, allocations: 37.69 kB / 4.31 GB, free: 116 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/11.12, allocations: 496.4 kB / 4.311 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/11.12, allocations: 110.5 kB / 4.311 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-05/11.12, allocations: 12 kB / 4.311 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.423e-05/11.12, allocations: 326 kB / 4.311 GB, free: 115 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/11.12, allocations: 184.7 kB / 4.311 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004255/11.12, allocations: 0.5082 MB / 4.312 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/11.12, allocations: 288 kB / 4.312 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/11.12, allocations: 0 / 4.312 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001216/11.12, allocations: 0.8962 MB / 4.313 GB, free: 113 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003922/11.12, allocations: 2.132 MB / 4.315 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/11.12, allocations: 8 kB / 4.315 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004936/11.12, allocations: 236.6 kB / 4.315 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/11.12, allocations: 59.91 kB / 4.315 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007619/11.12, allocations: 1.009 MB / 4.316 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008483/11.12, allocations: 111.6 kB / 4.316 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-05/11.12, allocations: 27.98 kB / 4.316 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/11.12, allocations: 4 kB / 4.316 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001167/11.12, allocations: 0.7202 MB / 4.317 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/11.12, allocations: 8.625 kB / 4.317 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004465/11.13, allocations: 213.3 kB / 4.317 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/11.13, allocations: 67.84 kB / 4.317 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003055/11.13, allocations: 3.16 MB / 4.32 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008796/11.13, allocations: 91.59 kB / 4.32 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/11.13, allocations: 27.98 kB / 4.321 GB, free: 104.8 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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.0006142/11.13, allocations: 468.7 kB / 4.321 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/11.13, allocations: 98.78 kB / 4.321 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/11.13, allocations: 0.7218 MB / 4.322 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/11.13, allocations: 4 kB / 4.322 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/11.13, allocations: 0 / 4.322 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/11.13, allocations: 4 kB / 4.322 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/11.13, allocations: 1.595 MB / 4.323 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/11.13, allocations: 0 / 4.323 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/11.13, allocations: 24.2 kB / 4.323 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004118/11.13, allocations: 236.5 kB / 4.324 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/11.13, allocations: 15.98 kB / 4.324 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007025/11.14, allocations: 0.9634 MB / 4.325 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/11.14, allocations: 8.094 kB / 4.325 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/11.14, allocations: 0.9081 MB / 4.325 GB, free: 99.54 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004413/11.14, allocations: 227.7 kB / 4.326 GB, free: 99.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/11.14, allocations: 11.95 kB / 4.326 GB, free: 99.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006011/11.14, allocations: 55.88 kB / 4.326 GB, free: 99.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/11.14, allocations: 23.97 kB / 4.326 GB, free: 99.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/11.14, allocations: 19.92 kB / 4.326 GB, free: 99.19 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009142/11.14, allocations: 0.7799 MB / 4.327 GB, free: 98.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/11.14, allocations: 0 / 4.327 GB, free: 98.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001708/11.14, allocations: 0.5152 MB / 4.327 GB, free: 97.88 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002633/11.14, allocations: 2.723 MB / 4.33 GB, free: 95.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001762/11.14, allocations: 1.042 MB / 4.331 GB, free: 94.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/11.14, allocations: 0 / 4.331 GB, free: 94.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000438/11.15, allocations: 239.7 kB / 4.331 GB, free: 93.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/11.15, allocations: 456 kB / 4.331 GB, free: 93.34 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/11.16, allocations: 9.821 MB / 4.341 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/11.16, allocations: 1.2 MB / 4.342 GB, free: 81.95 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001055/11.16, allocations: 319.8 kB / 4.342 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/11.16, allocations: 315.3 kB / 4.343 GB, free: 81.33 MB / 0.6823 GB Notification: Performance of SimCode: time 5.61e-07/11.16, allocations: 0 / 4.343 GB, free: 81.33 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07124/11.23, allocations: 42.49 MB / 4.384 GB, free: 39.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/11.23, allocations: 269.8 kB / 4.384 GB, free: 38.87 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.763/14.99, allocations: 0 / 4.384 GB, free: 38.87 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)