Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="IDEAS_dev_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.001759/0.001759, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7223/0.7223, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.535/1.535, allocations: 221.3 MB / 400.4 MB, free: 5.855 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.001073/0.001073, allocations: 96.69 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.951e-05/3.961e-05, allocations: 3.906 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1818, allocations: 82.31 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.926/5.108, allocations: 1.835 GB / 2.475 GB, free: 97.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/5.108, allocations: 95.94 kB / 2.475 GB, free: 97.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.933/9.041, allocations: 1.089 GB / 3.564 GB, free: 51.75 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.475e-06/9.041, allocations: 3.984 kB / 3.564 GB, free: 51.75 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001753/9.041, allocations: 35.98 kB / 3.564 GB, free: 51.71 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.004544/9.046, allocations: 1.267 MB / 3.566 GB, free: 50.39 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/9.046, allocations: 12.03 kB / 3.566 GB, free: 50.38 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003728/9.046, allocations: 98.52 kB / 3.566 GB, free: 50.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/9.047, allocations: 198.3 kB / 3.566 GB, free: 50.08 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003927/9.051, allocations: 1.449 MB / 3.567 GB, free: 48.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.309e-05/9.051, allocations: 49.31 kB / 3.567 GB, free: 48.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/9.052, allocations: 68 kB / 3.567 GB, free: 48.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/9.053, allocations: 0.9215 MB / 3.568 GB, free: 47.46 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/9.053, allocations: 4 kB / 3.568 GB, free: 47.45 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-05/9.053, allocations: 24 kB / 3.568 GB, free: 47.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/9.053, allocations: 16 kB / 3.568 GB, free: 47.41 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009473/9.054, allocations: 0.7024 MB / 3.569 GB, free: 46.71 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.004137/9.058, allocations: 4.702 MB / 3.574 GB, free: 41.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/9.06, allocations: 3.981 MB / 3.577 GB, free: 36.88 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003493/9.06, allocations: 325.3 kB / 3.578 GB, free: 36.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/9.06, allocations: 190.2 kB / 3.578 GB, free: 36.33 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004134/9.061, allocations: 304.8 kB / 3.578 GB, free: 36.02 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004357/9.061, allocations: 35.62 kB / 3.578 GB, free: 35.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.875e-06/9.061, allocations: 0 / 3.578 GB, free: 35.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001406/9.063, allocations: 0.7644 MB / 3.579 GB, free: 35.21 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/9.063, allocations: 93.05 kB / 3.579 GB, free: 35.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/9.064, allocations: 1.036 MB / 3.58 GB, free: 34.05 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.189e-05/9.064, allocations: 37.7 kB / 3.58 GB, free: 34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/9.064, allocations: 0.5127 MB / 3.581 GB, free: 33.49 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.818e-05/9.064, allocations: 122.3 kB / 3.581 GB, free: 33.37 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/9.064, allocations: 15.94 kB / 3.581 GB, free: 33.35 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.563e-05/9.065, allocations: 322 kB / 3.581 GB, free: 33.03 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/9.065, allocations: 189 kB / 3.581 GB, free: 32.85 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/9.065, allocations: 0.5327 MB / 3.582 GB, free: 32.16 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/9.066, allocations: 299.3 kB / 3.582 GB, free: 31.86 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/9.066, allocations: 4 kB / 3.582 GB, free: 31.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001284/9.067, allocations: 0.955 MB / 3.583 GB, free: 30.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00053/9.067, allocations: 2.23 MB / 3.585 GB, free: 28.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/9.067, allocations: 4 kB / 3.585 GB, free: 28.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006331/9.068, allocations: 331 kB / 3.586 GB, free: 28.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/9.068, allocations: 71.83 kB / 3.586 GB, free: 28.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/9.07, allocations: 1.125 MB / 3.587 GB, free: 26.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/9.071, allocations: 103.7 kB / 3.587 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/9.071, allocations: 28 kB / 3.587 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/9.071, allocations: 4 kB / 3.587 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001235/9.072, allocations: 0.7906 MB / 3.588 GB, free: 26.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/9.072, allocations: 4 kB / 3.588 GB, free: 26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000531/9.073, allocations: 248.8 kB / 3.588 GB, free: 25.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/9.073, allocations: 79.83 kB / 3.588 GB, free: 25.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003375/9.077, allocations: 3.088 MB / 3.591 GB, free: 22.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009661/9.078, allocations: 107.7 kB / 3.591 GB, free: 22.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/9.078, allocations: 27.98 kB / 3.591 GB, free: 22.32 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 () * 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.0001507/9.078, allocations: 145 kB / 3.591 GB, free: 22.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/9.078, allocations: 106.7 kB / 3.591 GB, free: 22.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/9.079, allocations: 0.7736 MB / 3.592 GB, free: 21.29 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/9.079, allocations: 11.98 kB / 3.592 GB, free: 21.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/9.079, allocations: 4 kB / 3.592 GB, free: 21.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/9.079, allocations: 3.938 kB / 3.592 GB, free: 21.27 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 postOpt removeSimpleEquations (simulation): time 0.0028/9.082, allocations: 2.149 MB / 3.594 GB, free: 18.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/9.082, allocations: 4 kB / 3.594 GB, free: 18.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/9.082, allocations: 48.2 kB / 3.594 GB, free: 18.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/9.083, allocations: 251.2 kB / 3.594 GB, free: 18.68 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/9.083, allocations: 8 kB / 3.594 GB, free: 18.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007416/9.083, allocations: 0.9313 MB / 3.595 GB, free: 17.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/9.083, allocations: 4 kB / 3.595 GB, free: 17.71 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009879/9.084, allocations: 0.9507 MB / 3.596 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004703/9.085, allocations: 235.6 kB / 3.597 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/9.085, allocations: 11.98 kB / 3.597 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007518/9.086, allocations: 83.75 kB / 3.597 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.878e-05/9.086, allocations: 27.97 kB / 3.597 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/9.086, allocations: 19.94 kB / 3.597 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001017/9.087, allocations: 0.8146 MB / 3.597 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.042e-06/9.087, allocations: 3.938 kB / 3.597 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002116/9.089, allocations: 0.6049 MB / 3.598 GB, free: 14.85 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) * 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.002958/9.092, allocations: 2.969 MB / 3.601 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002414/9.095, allocations: 1.251 MB / 3.602 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/9.095, allocations: 4 kB / 3.602 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000516/9.095, allocations: 299.9 kB / 3.602 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/9.098, allocations: 0.6508 MB / 3.603 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/9.102, allocations: 1.769 MB / 3.605 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/9.102, allocations: 1.234 MB / 3.606 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002029/9.104, allocations: 0.8006 MB / 3.607 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003717/9.105, allocations: 339.3 kB / 3.607 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of SimCode: time 9.01e-07/9.105, allocations: 0 / 3.607 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.496/9.601, allocations: 52.51 MB / 3.658 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/9.601, allocations: 232.3 kB / 3.659 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.856/13.46, allocations: 3.75 kB / 3.659 GB, free: 160.4 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)