Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IDEAS_dev_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.002035/0.002035, allocations: 173.5 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7325/0.7325, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.617/1.617, allocations: 221.3 MB / 400.4 MB, free: 5.824 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009436/0.0009437, allocations: 93.41 kB / 483.3 MB, free: 5.844 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.455e-05/4.479e-05, allocations: 7.062 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1897, allocations: 82.3 MB / 0.6405 GB, free: 7.695 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.735/4.925, allocations: 1.832 GB / 2.473 GB, free: 99.94 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/4.925, allocations: 95.94 kB / 2.473 GB, free: 99.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.778/8.703, allocations: 0.9684 GB / 3.441 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.793e-06/8.703, allocations: 0 / 3.441 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001683/8.704, allocations: 29.75 kB / 3.441 GB, free: 176.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.002618/8.706, allocations: 1.143 MB / 3.442 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/8.706, allocations: 10.66 kB / 3.442 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002222/8.706, allocations: 94.98 kB / 3.442 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/8.707, allocations: 188.1 kB / 3.442 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/8.71, allocations: 1.076 MB / 3.444 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/8.71, allocations: 46.31 kB / 3.444 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/8.71, allocations: 61.41 kB / 3.444 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009814/8.711, allocations: 0.735 MB / 3.444 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/8.711, allocations: 11.73 kB / 3.444 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/8.711, allocations: 24.94 kB / 3.444 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/8.711, allocations: 13.47 kB / 3.444 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006931/8.712, allocations: 472.5 kB / 3.445 GB, free: 173.7 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.003719/8.716, allocations: 4.598 MB / 3.449 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/8.716, allocations: 382.3 kB / 3.45 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/8.716, allocations: 226.3 kB / 3.45 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002747/8.717, allocations: 199.9 kB / 3.45 GB, free: 169 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/8.717, allocations: 267.1 kB / 3.45 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/8.717, allocations: 0 / 3.45 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.000871/8.718, allocations: 458 kB / 3.451 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/8.718, allocations: 84.77 kB / 3.451 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/8.719, allocations: 0.9786 MB / 3.452 GB, free: 168 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.278e-05/8.719, allocations: 33.42 kB / 3.452 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/8.72, allocations: 496.8 kB / 3.452 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.9e-05/8.72, allocations: 109.9 kB / 3.452 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/8.72, allocations: 9.594 kB / 3.452 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.731e-05/8.72, allocations: 325.2 kB / 3.453 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/8.72, allocations: 168.4 kB / 3.453 GB, free: 167 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/8.72, allocations: 488.3 kB / 3.453 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/8.721, allocations: 278.6 kB / 3.454 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/8.721, allocations: 224 / 3.454 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008143/8.722, allocations: 0.6442 MB / 3.454 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004578/8.722, allocations: 2.136 MB / 3.456 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/8.722, allocations: 8 kB / 3.456 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/8.722, allocations: 8 kB / 3.456 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/8.724, allocations: 295.5 kB / 3.457 GB, free: 163 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/8.726, allocations: 6.095 MB / 3.463 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008268/8.727, allocations: 103.4 kB / 3.463 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/8.727, allocations: 24 kB / 3.463 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/8.727, allocations: 8.922 kB / 3.463 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006892/8.727, allocations: 497.4 kB / 3.463 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/8.727, allocations: 7.938 kB / 3.463 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/8.727, allocations: 12 kB / 3.463 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/8.728, allocations: 139.5 kB / 3.463 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/8.728, allocations: 20.14 kB / 3.463 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007114/8.729, allocations: 95.53 kB / 3.463 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/8.729, allocations: 20 kB / 3.464 GB, free: 155.8 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.0001382/8.729, allocations: 159.1 kB / 3.464 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/8.729, allocations: 94.78 kB / 3.464 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006356/8.73, allocations: 467 kB / 3.464 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/8.73, allocations: 0 / 3.464 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/8.73, allocations: 8 kB / 3.464 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/8.73, allocations: 0 / 3.464 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/8.731, allocations: 1.347 MB / 3.466 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/8.731, allocations: 4 kB / 3.466 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/8.732, allocations: 151.4 kB / 3.466 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/8.732, allocations: 4 kB / 3.466 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/8.732, allocations: 8 kB / 3.466 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/8.734, allocations: 6.021 MB / 3.472 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/8.734, allocations: 0 / 3.472 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005605/8.734, allocations: 0.6654 MB / 3.472 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/8.735, allocations: 219.8 kB / 3.472 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/8.735, allocations: 15.92 kB / 3.472 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005296/8.735, allocations: 55.8 kB / 3.472 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/8.736, allocations: 43.84 kB / 3.473 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/8.736, allocations: 8 kB / 3.473 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008199/8.736, allocations: 0.7727 MB / 3.473 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.31e-07/8.736, allocations: 0 / 3.473 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001325/8.738, allocations: 475.7 kB / 3.474 GB, free: 144.9 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.00201/8.74, allocations: 2.506 MB / 3.476 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002079/8.742, allocations: 0.943 MB / 3.477 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/8.742, allocations: 0 / 3.477 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006004/8.743, allocations: 260.5 kB / 3.477 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/8.744, allocations: 454.3 kB / 3.478 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/8.747, allocations: 1.654 MB / 3.479 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/8.747, allocations: 1.206 MB / 3.481 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001757/8.749, allocations: 0.7802 MB / 3.481 GB, free: 137 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/8.749, allocations: 299.3 kB / 3.482 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of SimCode: time 4.81e-07/8.749, allocations: 3.938 kB / 3.482 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06296/8.812, allocations: 43.84 MB / 3.524 GB, free: 93.19 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001381/8.812, allocations: 220.2 kB / 3.525 GB, free: 92.97 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.671/12.48, allocations: 0 / 3.525 GB, free: 92.97 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)