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.007664/0.007664, allocations: 172 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.8065/0.8065, 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.523/1.523, 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.001034/0.001034, allocations: 95.95 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 16 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4947/0.4951, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.378/4.873, allocations: 1.832 GB / 2.482 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/4.874, allocations: 100.6 kB / 2.482 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.788/8.662, allocations: 0.9691 GB / 3.451 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.435e-06/8.662, allocations: 0 / 3.451 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002077/8.662, allocations: 37.61 kB / 3.451 GB, free: 183.8 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.004584/8.667, allocations: 1.425 MB / 3.452 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/8.667, allocations: 12.44 kB / 3.452 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003005/8.667, allocations: 90.31 kB / 3.452 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/8.668, allocations: 183.1 kB / 3.453 GB, free: 183 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/8.672, allocations: 1.096 MB / 3.454 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.481e-05/8.672, allocations: 41.88 kB / 3.454 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.619e-05/8.672, allocations: 63.88 kB / 3.454 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/8.673, allocations: 0.767 MB / 3.454 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/8.673, allocations: 7.781 kB / 3.455 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.908e-05/8.673, allocations: 19.12 kB / 3.455 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/8.673, allocations: 18.27 kB / 3.455 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00083/8.674, allocations: 0.515 MB / 3.455 GB, free: 182.5 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.004199/8.678, allocations: 4.6 MB / 3.46 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007036/8.679, allocations: 424.6 kB / 3.46 GB, free: 179 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003108/8.679, allocations: 189.4 kB / 3.46 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000443/8.68, allocations: 298.2 kB / 3.46 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.315e-06/8.68, allocations: 0 / 3.46 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001398/8.681, allocations: 0.642 MB / 3.461 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/8.681, allocations: 84.02 kB / 3.461 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/8.682, allocations: 0.9836 MB / 3.462 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/8.682, allocations: 33.27 kB / 3.462 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003949/8.683, allocations: 494.7 kB / 3.463 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.468e-05/8.683, allocations: 110.7 kB / 3.463 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/8.683, allocations: 7.312 kB / 3.463 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.839e-05/8.683, allocations: 328.7 kB / 3.463 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/8.683, allocations: 183.3 kB / 3.463 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/8.684, allocations: 0.5055 MB / 3.464 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/8.684, allocations: 292.5 kB / 3.464 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/8.684, allocations: 3.812 kB / 3.464 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00106/8.685, allocations: 0.6798 MB / 3.465 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006547/8.686, allocations: 2.134 MB / 3.467 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/8.686, allocations: 10.53 kB / 3.467 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.23e-05/8.686, allocations: 11.62 kB / 3.467 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/8.688, allocations: 291.8 kB / 3.467 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002858/8.69, allocations: 6.092 MB / 3.473 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/8.692, allocations: 104.4 kB / 3.473 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-05/8.692, allocations: 27.56 kB / 3.473 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/8.692, allocations: 2.438 kB / 3.473 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001011/8.693, allocations: 0.5414 MB / 3.474 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/8.693, allocations: 3.5 kB / 3.474 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/8.693, allocations: 11.12 kB / 3.474 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/8.693, allocations: 146 kB / 3.474 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/8.693, allocations: 15.66 kB / 3.474 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008182/8.694, allocations: 94.11 kB / 3.474 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/8.694, allocations: 22.66 kB / 3.474 GB, free: 169.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 () * Number of clocked 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.000745/8.695, allocations: 475.4 kB / 3.474 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/8.695, allocations: 103.9 kB / 3.474 GB, free: 169 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009041/8.696, allocations: 0.4968 MB / 3.475 GB, free: 169 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/8.696, allocations: 6.938 kB / 3.475 GB, free: 169 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.006e-05/8.696, allocations: 3.141 kB / 3.475 GB, free: 169 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/8.696, allocations: 3.562 kB / 3.475 GB, free: 169 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/8.698, allocations: 1.385 MB / 3.476 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/8.698, allocations: 3.875 kB / 3.476 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005872/8.699, allocations: 155.9 kB / 3.476 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/8.699, allocations: 7.328 kB / 3.476 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/8.699, allocations: 9.281 kB / 3.476 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/8.701, allocations: 6.015 MB / 3.482 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/8.701, allocations: 9.875 kB / 3.482 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009635/8.702, allocations: 0.697 MB / 3.483 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005022/8.703, allocations: 216.6 kB / 3.483 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/8.703, allocations: 7.188 kB / 3.483 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/8.703, allocations: 59.77 kB / 3.483 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/8.703, allocations: 32.61 kB / 3.483 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/8.703, allocations: 15.12 kB / 3.483 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0011/8.705, allocations: 0.785 MB / 3.484 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/8.705, allocations: 0 / 3.484 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001733/8.706, allocations: 481.2 kB / 3.485 GB, free: 162 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): 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.002735/8.709, allocations: 2.518 MB / 3.487 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002594/8.712, allocations: 0.9918 MB / 3.488 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/8.712, allocations: 0 / 3.488 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007477/8.712, allocations: 276.8 kB / 3.488 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/8.715, allocations: 451.8 kB / 3.489 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/8.726, allocations: 9.636 MB / 3.498 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008782/8.727, allocations: 1.207 MB / 3.499 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001389/8.728, allocations: 376.6 kB / 3.5 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004072/8.729, allocations: 311.5 kB / 3.5 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of SimCode: time 2.655e-06/8.729, allocations: 224 / 3.5 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06641/8.795, allocations: 40.11 MB / 3.539 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/8.795, allocations: 249 kB / 3.539 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.589/12.38, allocations: 2.391 kB / 3.539 GB, free: 117.2 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)