Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IDEAS_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.009295/0.009295, 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.767/0.767, allocations: 135.2 MB / 151 MB, free: 13.83 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.502/1.502, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.001027/0.001027, allocations: 93 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004457/0.0004462, allocations: 8 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4409, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.843/5.284, allocations: 1.832 GB / 2.482 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/5.284, allocations: 97.81 kB / 2.482 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.745/12.03, allocations: 1.802 GB / 4.284 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.615e-06/12.03, allocations: 0 / 4.284 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.709e-05/12.03, allocations: 31.98 kB / 4.284 GB, free: 116.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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002857/12.03, allocations: 1.425 MB / 4.285 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/12.03, allocations: 12.03 kB / 4.285 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/12.03, allocations: 98.45 kB / 4.285 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007209/12.03, allocations: 186.5 kB / 4.285 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/12.04, allocations: 1.088 MB / 4.286 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/12.04, allocations: 48.95 kB / 4.286 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.411e-05/12.04, allocations: 60 kB / 4.286 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009597/12.04, allocations: 0.7629 MB / 4.287 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/12.04, allocations: 7.875 kB / 4.287 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/12.04, allocations: 28 kB / 4.287 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/12.04, allocations: 12 kB / 4.287 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007337/12.04, allocations: 0.5149 MB / 4.288 GB, free: 112.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.0034/12.04, allocations: 4.592 MB / 4.292 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005846/12.04, allocations: 421.9 kB / 4.293 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002615/12.04, allocations: 198.2 kB / 4.293 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003908/12.04, allocations: 286.4 kB / 4.293 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.843e-06/12.04, allocations: 0 / 4.293 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001221/12.04, allocations: 0.6411 MB / 4.294 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/12.04, allocations: 89.11 kB / 4.294 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/12.04, allocations: 0.9795 MB / 4.295 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/12.04, allocations: 37.7 kB / 4.295 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/12.05, allocations: 0.4887 MB / 4.295 GB, free: 104 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.902e-05/12.05, allocations: 110.7 kB / 4.295 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-05/12.05, allocations: 7.938 kB / 4.295 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.343e-05/12.05, allocations: 333.9 kB / 4.296 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/12.05, allocations: 188.7 kB / 4.296 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/12.05, allocations: 0.5121 MB / 4.296 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/12.05, allocations: 300.2 kB / 4.297 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/12.05, allocations: 4 kB / 4.297 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008903/12.05, allocations: 0.6655 MB / 4.297 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004106/12.05, allocations: 2.134 MB / 4.299 GB, free: 99.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/12.05, allocations: 8 kB / 4.299 GB, free: 99.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/12.05, allocations: 8 kB / 4.299 GB, free: 99.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/12.05, allocations: 111.9 kB / 4.3 GB, free: 99.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/12.05, allocations: 15.89 kB / 4.3 GB, free: 99.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007975/12.05, allocations: 103.4 kB / 4.3 GB, free: 99.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/12.05, allocations: 27.98 kB / 4.3 GB, free: 99.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/12.05, allocations: 4 kB / 4.3 GB, free: 99.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007199/12.05, allocations: 0.5484 MB / 4.3 GB, free: 98.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/12.05, allocations: 4.094 kB / 4.3 GB, free: 98.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.632e-06/12.05, allocations: 12 kB / 4.3 GB, free: 98.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/12.05, allocations: 103.8 kB / 4.3 GB, free: 98.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/12.05, allocations: 8 kB / 4.3 GB, free: 98.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006241/12.05, allocations: 99.52 kB / 4.3 GB, free: 98.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/12.05, allocations: 20 kB / 4.3 GB, free: 98.41 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.0004936/12.05, allocations: 484.6 kB / 4.301 GB, free: 97.92 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/12.05, allocations: 94.78 kB / 4.301 GB, free: 97.83 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007864/12.05, allocations: 0.5026 MB / 4.302 GB, free: 97.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/12.05, allocations: 7.984 kB / 4.302 GB, free: 97.31 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/12.05, allocations: 4 kB / 4.302 GB, free: 97.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/12.05, allocations: 0 / 4.302 GB, free: 97.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/12.05, allocations: 1.383 MB / 4.303 GB, free: 95.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/12.05, allocations: 0 / 4.303 GB, free: 95.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/12.05, allocations: 72.11 kB / 4.303 GB, free: 95.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/12.05, allocations: 7.938 kB / 4.303 GB, free: 95.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/12.05, allocations: 8 kB / 4.303 GB, free: 95.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/12.05, allocations: 4 kB / 4.303 GB, free: 95.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/12.05, allocations: 0 / 4.303 GB, free: 95.75 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006734/12.05, allocations: 0.6976 MB / 4.304 GB, free: 94.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/12.06, allocations: 223.8 kB / 4.304 GB, free: 94.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.675e-05/12.06, allocations: 8 kB / 4.304 GB, free: 94.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/12.06, allocations: 55.8 kB / 4.304 GB, free: 94.68 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.802e-05/12.06, allocations: 39.84 kB / 4.304 GB, free: 94.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/12.06, allocations: 12 kB / 4.304 GB, free: 94.63 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007808/12.06, allocations: 0.7797 MB / 4.305 GB, free: 93.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/12.06, allocations: 0 / 4.305 GB, free: 93.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001325/12.06, allocations: 483.6 kB / 4.305 GB, free: 93.37 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.002288/12.06, allocations: 2.516 MB / 4.308 GB, free: 90.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001198/12.06, allocations: 0.8036 MB / 4.308 GB, free: 89.96 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/12.06, allocations: 0 / 4.308 GB, free: 89.96 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003086/12.06, allocations: 214.7 kB / 4.309 GB, free: 89.76 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/12.06, allocations: 456 kB / 4.309 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009613/12.07, allocations: 9.574 MB / 4.318 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/12.07, allocations: 1.193 MB / 4.32 GB, free: 78.19 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001222/12.08, allocations: 431.6 kB / 4.32 GB, free: 77.76 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/12.08, allocations: 323.3 kB / 4.32 GB, free: 77.45 MB / 0.6823 GB Notification: Performance of SimCode: time 1.633e-06/12.08, allocations: 0 / 4.32 GB, free: 77.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05879/12.13, allocations: 39.22 MB / 4.359 GB, free: 38.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/12.13, allocations: 228.9 kB / 4.359 GB, free: 38.31 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.169/15.3, allocations: 64 / 4.359 GB, free: 38.31 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)