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.006987/0.006987, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.778/0.778, allocations: 135.2 MB / 151.1 MB, free: 13.8 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: 223.2 MB / 406.8 MB, free: 3.211 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.001174/0.001174, allocations: 101.7 kB / 489.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003841, allocations: 15.98 kB / 0.5692 GB, free: 14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4542/0.4546, allocations: 82.29 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.798/5.253, allocations: 1.832 GB / 2.482 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/5.253, allocations: 95.25 kB / 2.482 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.657/11.91, allocations: 1.802 GB / 4.284 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.495e-06/11.91, allocations: 0 / 4.284 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.141e-05/11.91, allocations: 31.98 kB / 4.284 GB, free: 115.1 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.002638/11.91, allocations: 1.425 MB / 4.285 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/11.91, allocations: 16.03 kB / 4.285 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001054/11.91, allocations: 98.52 kB / 4.285 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006899/11.91, allocations: 178.5 kB / 4.285 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/11.92, allocations: 1.092 MB / 4.286 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.647e-05/11.92, allocations: 52.95 kB / 4.286 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.541e-05/11.92, allocations: 60 kB / 4.286 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009153/11.92, allocations: 0.7654 MB / 4.287 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/11.92, allocations: 7.938 kB / 4.287 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/11.92, allocations: 27.94 kB / 4.287 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/11.92, allocations: 12 kB / 4.287 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007202/11.92, allocations: 0.511 MB / 4.288 GB, free: 110.7 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.00321/11.92, allocations: 4.595 MB / 4.292 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005889/11.92, allocations: 421.7 kB / 4.293 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/11.92, allocations: 198.2 kB / 4.293 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003963/11.92, allocations: 286.4 kB / 4.293 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.944e-06/11.92, allocations: 4 kB / 4.293 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001204/11.92, allocations: 0.6411 MB / 4.294 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/11.92, allocations: 85.11 kB / 4.294 GB, free: 104 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009887/11.92, allocations: 0.9795 MB / 4.295 GB, free: 103 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/11.92, allocations: 37.7 kB / 4.295 GB, free: 103 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/11.92, allocations: 0.489 MB / 4.295 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/11.92, allocations: 106.5 kB / 4.295 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/11.92, allocations: 4 kB / 4.295 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.563e-05/11.92, allocations: 329.9 kB / 4.296 GB, free: 102 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/11.92, allocations: 184.7 kB / 4.296 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/11.93, allocations: 0.5121 MB / 4.296 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/11.93, allocations: 300.2 kB / 4.297 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/11.93, allocations: 3.984 kB / 4.297 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008612/11.93, allocations: 0.6694 MB / 4.297 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000367/11.93, allocations: 2.129 MB / 4.299 GB, free: 97.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/11.93, allocations: 8 kB / 4.299 GB, free: 97.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/11.93, allocations: 11.94 kB / 4.299 GB, free: 97.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/11.93, allocations: 107.9 kB / 4.3 GB, free: 97.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/11.93, allocations: 19.88 kB / 4.3 GB, free: 97.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007827/11.93, allocations: 107.6 kB / 4.3 GB, free: 97.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-05/11.93, allocations: 27.98 kB / 4.3 GB, free: 97.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/11.93, allocations: 4 kB / 4.3 GB, free: 97.64 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007119/11.93, allocations: 0.5482 MB / 4.3 GB, free: 97.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/11.93, allocations: 8 kB / 4.3 GB, free: 97.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/11.93, allocations: 8 kB / 4.3 GB, free: 97.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/11.93, allocations: 99.88 kB / 4.3 GB, free: 96.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/11.93, allocations: 11.94 kB / 4.3 GB, free: 96.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006054/11.93, allocations: 95.58 kB / 4.3 GB, free: 96.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/11.93, allocations: 28 kB / 4.3 GB, free: 96.84 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 (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.0005197/11.93, allocations: 476.5 kB / 4.301 GB, free: 96.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.761e-05/11.93, allocations: 102.8 kB / 4.301 GB, free: 96.26 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007739/11.93, allocations: 0.4987 MB / 4.302 GB, free: 95.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/11.93, allocations: 11.88 kB / 4.302 GB, free: 95.75 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/11.93, allocations: 0 / 4.302 GB, free: 95.75 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/11.93, allocations: 3.984 kB / 4.302 GB, free: 95.74 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/11.93, allocations: 1.383 MB / 4.303 GB, free: 94.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/11.93, allocations: 3.938 kB / 4.303 GB, free: 94.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/11.93, allocations: 72.11 kB / 4.303 GB, free: 94.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/11.93, allocations: 0 / 4.303 GB, free: 94.21 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/11.93, allocations: 19.98 kB / 4.303 GB, free: 94.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/11.93, allocations: 0 / 4.303 GB, free: 94.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/11.93, allocations: 4 kB / 4.303 GB, free: 94.18 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006678/11.93, allocations: 0.6966 MB / 4.304 GB, free: 93.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003125/11.93, allocations: 219.8 kB / 4.304 GB, free: 93.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-05/11.93, allocations: 8 kB / 4.304 GB, free: 93.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/11.94, allocations: 55.8 kB / 4.304 GB, free: 93.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/11.94, allocations: 43.84 kB / 4.304 GB, free: 93.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/11.94, allocations: 12 kB / 4.304 GB, free: 93.06 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007881/11.94, allocations: 0.7797 MB / 4.305 GB, free: 92.27 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/11.94, allocations: 0 / 4.305 GB, free: 92.27 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001322/11.94, allocations: 479.7 kB / 4.305 GB, free: 91.8 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 (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.002032/11.94, allocations: 2.517 MB / 4.308 GB, free: 89.22 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001156/11.94, allocations: 0.8032 MB / 4.308 GB, free: 88.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/11.94, allocations: 4 kB / 4.308 GB, free: 88.39 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003024/11.94, allocations: 209.6 kB / 4.309 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/11.94, allocations: 450.5 kB / 4.309 GB, free: 87.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00872/11.95, allocations: 9.572 MB / 4.318 GB, free: 77.85 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/11.95, allocations: 1.197 MB / 4.32 GB, free: 76.62 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001096/11.95, allocations: 427.6 kB / 4.32 GB, free: 76.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/11.95, allocations: 327.3 kB / 4.32 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of SimCode: time 8.42e-07/11.95, allocations: 0 / 4.32 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05115/12, allocations: 39.24 MB / 4.359 GB, free: 37 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/12, allocations: 233.2 kB / 4.359 GB, free: 36.76 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.102/15.11, allocations: 0 / 4.359 GB, free: 36.76 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)