Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.001101/0.0011, allocations: 172.5 kB / 7.647 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.794/0.794, allocations: 133.6 MB / 141.6 MB, free: 2.906 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.587/1.587, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.001062/0.001063, allocations: 107.1 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.69e-05/2.699e-05, allocations: 4 kB / 0.5536 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5507/0.5507, allocations: 82.31 MB / 0.6339 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.942/5.492, allocations: 1.831 GB / 2.465 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/5.493, allocations: 91.19 kB / 2.465 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.34/8.833, allocations: 0.9582 GB / 3.424 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.693e-06/8.833, allocations: 0 / 3.424 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001811/8.833, allocations: 27.12 kB / 3.424 GB, free: 195.4 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.002243/8.835, allocations: 1.144 MB / 3.425 GB, free: 195 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/8.836, allocations: 8.781 kB / 3.425 GB, free: 195 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007497/8.836, allocations: 187.1 kB / 3.425 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/8.839, allocations: 1.081 MB / 3.426 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/8.839, allocations: 16.28 kB / 3.426 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.769e-05/8.839, allocations: 37.47 kB / 3.426 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008202/8.839, allocations: 471.2 kB / 3.427 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009762/8.84, allocations: 0.672 MB / 3.427 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/8.84, allocations: 5 kB / 3.427 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-05/8.841, allocations: 6.281 kB / 3.427 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/8.841, allocations: 14.3 kB / 3.427 GB, free: 194.4 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.003434/8.844, allocations: 4.471 MB / 3.432 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/8.845, allocations: 436.9 kB / 3.432 GB, free: 191 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/8.845, allocations: 240.4 kB / 3.432 GB, free: 191 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/8.845, allocations: 202.9 kB / 3.432 GB, free: 190.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003398/8.846, allocations: 256.3 kB / 3.433 GB, free: 190.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/8.846, allocations: 0.8125 kB / 3.433 GB, free: 190.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.0009125/8.847, allocations: 491.6 kB / 3.433 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/8.847, allocations: 88.53 kB / 3.433 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007944/8.847, allocations: 0.8481 MB / 3.434 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/8.847, allocations: 25.7 kB / 3.434 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/8.848, allocations: 0.4891 MB / 3.435 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/8.848, allocations: 98.31 kB / 3.435 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/8.848, allocations: 0 / 3.435 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.13e-05/8.848, allocations: 331.5 kB / 3.435 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/8.848, allocations: 178.2 kB / 3.435 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/8.848, allocations: 0.4892 MB / 3.436 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/8.849, allocations: 259 kB / 3.436 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/8.849, allocations: 3.875 kB / 3.436 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007071/8.849, allocations: 0.6251 MB / 3.436 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003573/8.85, allocations: 2.123 MB / 3.439 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/8.85, allocations: 14.39 kB / 3.439 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/8.85, allocations: 7.844 kB / 3.439 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/8.851, allocations: 307 kB / 3.439 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/8.853, allocations: 6.186 MB / 3.445 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007944/8.854, allocations: 87.17 kB / 3.445 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/8.854, allocations: 24.56 kB / 3.445 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/8.854, allocations: 3.969 kB / 3.445 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000601/8.855, allocations: 412.8 kB / 3.445 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/8.855, allocations: 5.375 kB / 3.445 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/8.855, allocations: 12.89 kB / 3.445 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005785/8.856, allocations: 147.3 kB / 3.446 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/8.856, allocations: 18.2 kB / 3.446 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/8.856, allocations: 74.45 kB / 3.446 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/8.856, allocations: 20.94 kB / 3.446 GB, free: 181.4 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): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/8.856, allocations: 126.5 kB / 3.446 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006653/8.857, allocations: 410.4 kB / 3.446 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/8.857, allocations: 99.17 kB / 3.446 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008235/8.858, allocations: 450.9 kB / 3.447 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/8.858, allocations: 3.688 kB / 3.447 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/8.858, allocations: 5.031 kB / 3.447 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/8.858, allocations: 0.5312 kB / 3.447 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/8.86, allocations: 1.253 MB / 3.448 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/8.86, allocations: 2.188 kB / 3.448 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005588/8.86, allocations: 156.7 kB / 3.448 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/8.86, allocations: 0 / 3.448 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/8.86, allocations: 10.48 kB / 3.448 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/8.862, allocations: 6.042 MB / 3.454 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/8.862, allocations: 3.984 kB / 3.454 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005193/8.862, allocations: 0.6269 MB / 3.455 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/8.863, allocations: 221.1 kB / 3.455 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/8.863, allocations: 2.969 kB / 3.455 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/8.863, allocations: 54.05 kB / 3.455 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/8.863, allocations: 30.73 kB / 3.455 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/8.863, allocations: 15.58 kB / 3.455 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007149/8.864, allocations: 0.661 MB / 3.456 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.11e-07/8.864, allocations: 0 / 3.456 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001271/8.865, allocations: 449 kB / 3.456 GB, free: 174.2 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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001779/8.867, allocations: 2.579 MB / 3.459 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00194/8.869, allocations: 0.9541 MB / 3.459 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/8.869, allocations: 0 / 3.459 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005305/8.87, allocations: 242 kB / 3.46 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/8.871, allocations: 398.5 kB / 3.46 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/8.873, allocations: 1.607 MB / 3.462 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/8.874, allocations: 1.207 MB / 3.463 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001506/8.875, allocations: 0.7434 MB / 3.464 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/8.875, allocations: 291.8 kB / 3.464 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/8.875, allocations: 0 / 3.464 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.28/11.16, allocations: 30.68 MB / 3.494 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/11.16, allocations: 172.5 kB / 3.494 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.027/14.18, allocations: 0 / 3.494 GB, free: 170.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)