Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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.006903/0.006903, allocations: 170.5 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7681/0.7681, allocations: 135.2 MB / 151 MB, free: 13.86 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.531/1.531, allocations: 223.2 MB / 406.8 MB, free: 3.16 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.001033/0.001033, allocations: 101.1 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004044, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5189/0.5193, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.949/5.468, allocations: 1.832 GB / 2.482 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/5.468, allocations: 92.58 kB / 2.482 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.716/9.184, allocations: 1.081 GB / 3.562 GB, free: 63.65 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.876e-06/9.184, allocations: 0 / 3.562 GB, free: 63.65 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001011/9.184, allocations: 32.17 kB / 3.562 GB, free: 63.62 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004555/9.189, allocations: 1.585 MB / 3.564 GB, free: 61.97 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/9.189, allocations: 8.031 kB / 3.564 GB, free: 61.96 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002138/9.189, allocations: 94.52 kB / 3.564 GB, free: 61.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009059/9.19, allocations: 198.3 kB / 3.564 GB, free: 61.67 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003568/9.194, allocations: 1.453 MB / 3.566 GB, free: 60.16 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/9.194, allocations: 49.31 kB / 3.566 GB, free: 60.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.567e-05/9.194, allocations: 64 kB / 3.566 GB, free: 60.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/9.195, allocations: 0.9514 MB / 3.567 GB, free: 59.02 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/9.195, allocations: 4 kB / 3.567 GB, free: 59.02 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.833e-05/9.195, allocations: 27.98 kB / 3.567 GB, free: 58.99 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/9.195, allocations: 15.94 kB / 3.567 GB, free: 58.97 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009924/9.196, allocations: 0.757 MB / 3.567 GB, free: 58.21 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.003802/9.2, allocations: 4.735 MB / 3.572 GB, free: 53.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/9.202, allocations: 4.053 MB / 3.576 GB, free: 48.28 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/9.202, allocations: 194.2 kB / 3.576 GB, free: 48.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004426/9.202, allocations: 326.6 kB / 3.577 GB, free: 47.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004353/9.203, allocations: 31.69 kB / 3.577 GB, free: 47.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 3.166e-06/9.203, allocations: 0 / 3.577 GB, free: 47.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.002903/9.206, allocations: 1.315 MB / 3.578 GB, free: 46.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/9.206, allocations: 89.05 kB / 3.578 GB, free: 46.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/9.207, allocations: 1.034 MB / 3.579 GB, free: 45.19 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.798e-05/9.207, allocations: 41.7 kB / 3.579 GB, free: 45.14 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/9.207, allocations: 0.5127 MB / 3.58 GB, free: 44.62 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.372e-05/9.207, allocations: 134.1 kB / 3.58 GB, free: 44.49 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/9.207, allocations: 8 kB / 3.58 GB, free: 44.48 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.319e-05/9.207, allocations: 334 kB / 3.58 GB, free: 44.15 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/9.208, allocations: 213 kB / 3.58 GB, free: 43.94 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004878/9.208, allocations: 0.5482 MB / 3.581 GB, free: 43.24 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/9.209, allocations: 316 kB / 3.581 GB, free: 42.93 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/9.209, allocations: 4 kB / 3.581 GB, free: 42.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001298/9.21, allocations: 0.9824 MB / 3.582 GB, free: 41.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003892/9.21, allocations: 2.225 MB / 3.584 GB, free: 39.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/9.21, allocations: 4 kB / 3.584 GB, free: 39.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005174/9.211, allocations: 282 kB / 3.584 GB, free: 39.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/9.211, allocations: 91.78 kB / 3.585 GB, free: 39.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/9.213, allocations: 1.663 MB / 3.586 GB, free: 37.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/9.214, allocations: 103.8 kB / 3.586 GB, free: 37.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/9.214, allocations: 24 kB / 3.586 GB, free: 37.33 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/9.214, allocations: 5.25 kB / 3.586 GB, free: 37.32 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001239/9.215, allocations: 0.8106 MB / 3.587 GB, free: 36.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/9.215, allocations: 4 kB / 3.587 GB, free: 36.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004387/9.215, allocations: 212.7 kB / 3.587 GB, free: 36.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/9.216, allocations: 87.69 kB / 3.587 GB, free: 36.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00299/9.219, allocations: 2.962 MB / 3.59 GB, free: 33.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009817/9.22, allocations: 107.8 kB / 3.59 GB, free: 33.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/9.22, allocations: 27.98 kB / 3.59 GB, free: 32.98 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006158/9.22, allocations: 476.9 kB / 3.591 GB, free: 32.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/9.221, allocations: 106.7 kB / 3.591 GB, free: 32.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/9.222, allocations: 0.7907 MB / 3.592 GB, free: 31.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/9.222, allocations: 4 kB / 3.592 GB, free: 31.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/9.222, allocations: 4 kB / 3.592 GB, free: 31.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/9.222, allocations: 4.172 kB / 3.592 GB, free: 31.58 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 postOpt removeSimpleEquations (simulation): time 0.002511/9.224, allocations: 2.147 MB / 3.594 GB, free: 29.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/9.224, allocations: 4 kB / 3.594 GB, free: 29.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/9.225, allocations: 67.89 kB / 3.594 GB, free: 29.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003494/9.225, allocations: 196.9 kB / 3.594 GB, free: 29.03 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/9.225, allocations: 12 kB / 3.594 GB, free: 29.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00079/9.226, allocations: 1.466 MB / 3.596 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/9.226, allocations: 8.062 kB / 3.596 GB, free: 27.49 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/9.227, allocations: 0.9593 MB / 3.596 GB, free: 26.45 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004142/9.227, allocations: 231.7 kB / 3.597 GB, free: 26.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/9.227, allocations: 19.94 kB / 3.597 GB, free: 26.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006513/9.228, allocations: 75.75 kB / 3.597 GB, free: 26.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/9.228, allocations: 35.89 kB / 3.597 GB, free: 26.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/9.228, allocations: 12 kB / 3.597 GB, free: 26.06 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009181/9.229, allocations: 0.8288 MB / 3.598 GB, free: 25.22 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/9.229, allocations: 0 / 3.598 GB, free: 25.22 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00185/9.231, allocations: 0.5972 MB / 3.598 GB, free: 24.62 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002558/9.233, allocations: 2.954 MB / 3.601 GB, free: 21.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00239/9.236, allocations: 1.28 MB / 3.602 GB, free: 20.27 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/9.236, allocations: 0 / 3.602 GB, free: 20.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005476/9.236, allocations: 316.2 kB / 3.603 GB, free: 19.96 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002859/9.239, allocations: 0.6458 MB / 3.603 GB, free: 19.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/9.25, allocations: 10.55 MB / 3.614 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006162/9.251, allocations: 1.229 MB / 3.615 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001275/9.252, allocations: 384.6 kB / 3.615 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/9.252, allocations: 359.3 kB / 3.615 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of SimCode: time 9.037e-06/9.252, allocations: 0 / 3.615 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4369/9.689, allocations: 47.2 MB / 3.662 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/9.69, allocations: 257.8 kB / 3.662 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.563/13.25, allocations: 0 / 3.662 GB, free: 162.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)