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.001487/0.001487, allocations: 180.9 kB / 7.651 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.8037/0.8037, allocations: 133.6 MB / 141.6 MB, free: 2.895 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.617/1.617, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009564/0.0009561, allocations: 96.28 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.14e-05, allocations: 4 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5522/0.5522, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.13/5.683, allocations: 1.832 GB / 2.465 GB, free: 165 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/5.683, allocations: 93.38 kB / 2.466 GB, free: 165 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.388/12.07, allocations: 1.782 GB / 4.248 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.253e-06/12.07, allocations: 0 / 4.248 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001186/12.07, allocations: 28.3 kB / 4.248 GB, free: 189.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.001969/12.07, allocations: 1.151 MB / 4.249 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/12.07, allocations: 10.59 kB / 4.249 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009206/12.07, allocations: 185.6 kB / 4.249 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/12.08, allocations: 1.072 MB / 4.25 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/12.08, allocations: 18.28 kB / 4.25 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/12.08, allocations: 36.41 kB / 4.25 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007524/12.08, allocations: 468.5 kB / 4.25 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008469/12.08, allocations: 0.6756 MB / 4.251 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/12.08, allocations: 6.5 kB / 4.251 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/12.08, allocations: 6.094 kB / 4.251 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/12.08, allocations: 10.88 kB / 4.251 GB, free: 188.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.003339/12.08, allocations: 4.468 MB / 4.255 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/12.08, allocations: 435.9 kB / 4.256 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/12.08, allocations: 248.7 kB / 4.256 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000256/12.08, allocations: 195.7 kB / 4.256 GB, free: 185 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002957/12.08, allocations: 270.2 kB / 4.257 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/12.08, allocations: 3.938 kB / 4.257 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.0008826/12.08, allocations: 492.6 kB / 4.257 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/12.08, allocations: 84.77 kB / 4.257 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009116/12.08, allocations: 0.8507 MB / 4.258 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/12.08, allocations: 25.7 kB / 4.258 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/12.08, allocations: 490.1 kB / 4.258 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.178e-05/12.08, allocations: 110.2 kB / 4.259 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/12.08, allocations: 3.938 kB / 4.259 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.975e-05/12.09, allocations: 320.8 kB / 4.259 GB, free: 184 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/12.09, allocations: 181 kB / 4.259 GB, free: 184 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/12.09, allocations: 0.4959 MB / 4.26 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/12.09, allocations: 258.5 kB / 4.26 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/12.09, allocations: 0 / 4.26 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007808/12.09, allocations: 0.6144 MB / 4.26 GB, free: 183.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004262/12.09, allocations: 2.132 MB / 4.262 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/12.09, allocations: 11.12 kB / 4.262 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/12.09, allocations: 7.906 kB / 4.262 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/12.09, allocations: 111.3 kB / 4.263 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/12.09, allocations: 7.625 kB / 4.263 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007389/12.09, allocations: 88.84 kB / 4.263 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/12.09, allocations: 29.33 kB / 4.263 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/12.09, allocations: 3.938 kB / 4.263 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000492/12.09, allocations: 412.2 kB / 4.263 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/12.09, allocations: 8.438 kB / 4.263 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/12.09, allocations: 10.34 kB / 4.263 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/12.09, allocations: 107.9 kB / 4.263 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/12.09, allocations: 10.44 kB / 4.263 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006449/12.09, allocations: 77.92 kB / 4.263 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/12.09, allocations: 25.16 kB / 4.263 GB, free: 181.3 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.0001131/12.09, allocations: 130.3 kB / 4.263 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004095/12.09, allocations: 411.7 kB / 4.264 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.327e-05/12.09, allocations: 95.69 kB / 4.264 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005225/12.09, allocations: 450.7 kB / 4.264 GB, free: 181 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/12.09, allocations: 3.812 kB / 4.264 GB, free: 181 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/12.09, allocations: 3.953 kB / 4.264 GB, free: 181 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/12.09, allocations: 3.172 kB / 4.264 GB, free: 181 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/12.09, allocations: 1.257 MB / 4.266 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/12.09, allocations: 0 / 4.266 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/12.09, allocations: 76.73 kB / 4.266 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/12.09, allocations: 3.906 kB / 4.266 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/12.09, allocations: 3.906 kB / 4.266 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/12.09, allocations: 7.156 kB / 4.266 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/12.09, allocations: 9.188 kB / 4.266 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/12.09, allocations: 0.6266 MB / 4.266 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/12.09, allocations: 212.7 kB / 4.267 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-05/12.09, allocations: 3.375 kB / 4.267 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/12.09, allocations: 55.02 kB / 4.267 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/12.09, allocations: 31.19 kB / 4.267 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/12.09, allocations: 11.78 kB / 4.267 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005594/12.09, allocations: 0.6628 MB / 4.267 GB, free: 180 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/12.09, allocations: 0 / 4.267 GB, free: 180 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001043/12.1, allocations: 447.3 kB / 4.268 GB, free: 180 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.001626/12.1, allocations: 2.576 MB / 4.27 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007274/12.1, allocations: 0.7559 MB / 4.271 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/12.1, allocations: 0 / 4.271 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/12.1, allocations: 187.8 kB / 4.271 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/12.1, allocations: 396.2 kB / 4.271 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/12.1, allocations: 1.599 MB / 4.273 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/12.1, allocations: 1.2 MB / 4.274 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001542/12.1, allocations: 0.7614 MB / 4.275 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/12.1, allocations: 302.2 kB / 4.275 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/12.1, allocations: 0 / 4.275 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.041/14.15, allocations: 29.89 MB / 4.304 GB, free: 169 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/14.15, allocations: 184 kB / 4.305 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.008/17.15, allocations: 0 / 4.305 GB, free: 168.8 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)