Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.006738/0.006738, allocations: 171.5 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.759/0.759, allocations: 135.2 MB / 151 MB, free: 13.85 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.565/1.565, allocations: 223.2 MB / 406.8 MB, free: 3.246 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.0009622/0.0009624, allocations: 103.2 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003561, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.4614, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.868/5.33, allocations: 1.835 GB / 2.484 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/5.33, allocations: 98.56 kB / 2.484 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.947/9.276, allocations: 1.09 GB / 3.574 GB, free: 82.47 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.933e-06/9.276, allocations: 0 / 3.574 GB, free: 82.47 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001033/9.277, allocations: 35.97 kB / 3.574 GB, free: 82.43 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004763/9.281, allocations: 1.574 MB / 3.576 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/9.281, allocations: 8.031 kB / 3.576 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000221/9.282, allocations: 102.5 kB / 3.576 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009417/9.283, allocations: 206.3 kB / 3.576 GB, free: 80.47 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003721/9.286, allocations: 1.461 MB / 3.577 GB, free: 78.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/9.286, allocations: 45.31 kB / 3.578 GB, free: 78.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-05/9.286, allocations: 64 kB / 3.578 GB, free: 78.85 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/9.288, allocations: 0.9547 MB / 3.579 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/9.288, allocations: 7.875 kB / 3.579 GB, free: 77.81 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-05/9.288, allocations: 28 kB / 3.579 GB, free: 77.78 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/9.288, allocations: 16 kB / 3.579 GB, free: 77.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/9.289, allocations: 0.7492 MB / 3.579 GB, free: 77.02 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.004035/9.293, allocations: 4.696 MB / 3.584 GB, free: 72 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/9.295, allocations: 4.017 MB / 3.588 GB, free: 67.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/9.295, allocations: 198.2 kB / 3.588 GB, free: 66.93 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004751/9.295, allocations: 330.6 kB / 3.588 GB, free: 66.59 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005329/9.296, allocations: 35.58 kB / 3.588 GB, free: 66.55 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.685e-06/9.296, allocations: 0 / 3.588 GB, free: 66.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.003448/9.3, allocations: 1.436 MB / 3.59 GB, free: 65.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/9.3, allocations: 81.11 kB / 3.59 GB, free: 64.99 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/9.301, allocations: 1.05 MB / 3.591 GB, free: 63.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.324e-05/9.301, allocations: 37.7 kB / 3.591 GB, free: 63.88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/9.301, allocations: 0.5205 MB / 3.591 GB, free: 63.36 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/9.301, allocations: 126.3 kB / 3.592 GB, free: 63.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/9.301, allocations: 15.94 kB / 3.592 GB, free: 63.21 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.951e-05/9.301, allocations: 326 kB / 3.592 GB, free: 62.89 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/9.302, allocations: 209 kB / 3.592 GB, free: 62.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/9.302, allocations: 0.5562 MB / 3.593 GB, free: 61.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/9.303, allocations: 323.8 kB / 3.593 GB, free: 61.66 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/9.303, allocations: 3.938 kB / 3.593 GB, free: 61.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001419/9.304, allocations: 1.001 MB / 3.594 GB, free: 60.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005023/9.305, allocations: 2.229 MB / 3.596 GB, free: 58.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/9.305, allocations: 11.98 kB / 3.596 GB, free: 58.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006113/9.305, allocations: 318.2 kB / 3.596 GB, free: 57.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/9.306, allocations: 75.89 kB / 3.596 GB, free: 57.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/9.307, allocations: 1.114 MB / 3.598 GB, free: 56.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/9.308, allocations: 103.7 kB / 3.598 GB, free: 56.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.17e-05/9.308, allocations: 24 kB / 3.598 GB, free: 56.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/9.308, allocations: 8 kB / 3.598 GB, free: 56.57 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001376/9.31, allocations: 0.8298 MB / 3.598 GB, free: 55.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/9.31, allocations: 8 kB / 3.598 GB, free: 55.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005084/9.31, allocations: 244.7 kB / 3.599 GB, free: 55.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/9.31, allocations: 87.81 kB / 3.599 GB, free: 55.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003399/9.314, allocations: 3.162 MB / 3.602 GB, free: 52.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/9.315, allocations: 107.7 kB / 3.602 GB, free: 52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/9.315, allocations: 28 kB / 3.602 GB, free: 51.97 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 (37): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006972/9.316, allocations: 480.9 kB / 3.602 GB, free: 51.49 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/9.316, allocations: 114.5 kB / 3.603 GB, free: 51.38 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/9.317, allocations: 0.8165 MB / 3.603 GB, free: 50.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/9.317, allocations: 4 kB / 3.603 GB, free: 50.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/9.317, allocations: 3.984 kB / 3.603 GB, free: 50.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/9.317, allocations: 0 / 3.603 GB, free: 50.54 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.002743/9.32, allocations: 2.19 MB / 3.606 GB, free: 48.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/9.32, allocations: 7.984 kB / 3.606 GB, free: 48.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/9.32, allocations: 44.22 kB / 3.606 GB, free: 48.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004284/9.321, allocations: 242.5 kB / 3.606 GB, free: 47.91 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/9.321, allocations: 12 kB / 3.606 GB, free: 47.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007136/9.321, allocations: 0.9366 MB / 3.607 GB, free: 46.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/9.321, allocations: 3.938 kB / 3.607 GB, free: 46.94 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/9.322, allocations: 0.9905 MB / 3.608 GB, free: 45.86 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004593/9.323, allocations: 243.7 kB / 3.608 GB, free: 45.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/9.323, allocations: 15.88 kB / 3.608 GB, free: 45.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006771/9.324, allocations: 79.75 kB / 3.608 GB, free: 45.51 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/9.324, allocations: 31.95 kB / 3.608 GB, free: 45.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/9.324, allocations: 16 kB / 3.608 GB, free: 45.46 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008678/9.325, allocations: 0.8289 MB / 3.609 GB, free: 44.63 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/9.325, allocations: 4 kB / 3.609 GB, free: 44.62 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001822/9.327, allocations: 0.605 MB / 3.609 GB, free: 44.02 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 (23): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002662/9.329, allocations: 3.006 MB / 3.612 GB, free: 40.92 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002419/9.332, allocations: 1.299 MB / 3.614 GB, free: 39.59 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/9.332, allocations: 0 / 3.614 GB, free: 39.59 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005415/9.332, allocations: 320.6 kB / 3.614 GB, free: 39.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/9.335, allocations: 0.6519 MB / 3.615 GB, free: 38.63 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/9.346, allocations: 10.59 MB / 3.625 GB, free: 27.66 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/9.347, allocations: 1.232 MB / 3.626 GB, free: 26.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001341/9.348, allocations: 380.6 kB / 3.627 GB, free: 26.03 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003967/9.348, allocations: 359.3 kB / 3.627 GB, free: 25.68 MB / 0.6823 GB Notification: Performance of SimCode: time 1.674e-06/9.348, allocations: 0 / 3.627 GB, free: 25.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4868/9.835, allocations: 48.17 MB / 3.674 GB, free: 165 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/9.835, allocations: 271.6 kB / 3.674 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.437/13.27, allocations: 3.844 kB / 3.674 GB, free: 164.6 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)