Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="IBPSA_latest_IBPSA_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.002935/0.002935, allocations: 183.4 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5485/0.5485, allocations: 91.97 MB / 108.5 MB, free: 13.11 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.723/1.723, allocations: 223.2 MB / 354.3 MB, free: 10.42 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001293, allocations: 96.27 kB / 427.4 MB, free: 2.141 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003984, allocations: 12 kB / 0.4983 GB, free: 41.94 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.199, allocations: 72.3 MB / 0.5689 GB, free: 1.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.035/5.234, allocations: 1.825 GB / 2.394 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/5.235, allocations: 91.95 kB / 2.394 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.332/9.567, allocations: 1.09 GB / 3.484 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.186e-06/9.567, allocations: 0 / 3.484 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002411/9.568, allocations: 27.98 kB / 3.484 GB, free: 124.1 MB / 0.6042 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.006693/9.574, allocations: 1.578 MB / 3.486 GB, free: 122.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/9.574, allocations: 8.031 kB / 3.486 GB, free: 122.5 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005659/9.575, allocations: 106.4 kB / 3.486 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/9.576, allocations: 198.4 kB / 3.486 GB, free: 122.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005656/9.582, allocations: 1.465 MB / 3.487 GB, free: 120.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-05/9.582, allocations: 45.31 kB / 3.487 GB, free: 120.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/9.583, allocations: 64 kB / 3.487 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/9.584, allocations: 0.9527 MB / 3.488 GB, free: 119.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/9.584, allocations: 3.938 kB / 3.488 GB, free: 119.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.31e-05/9.584, allocations: 24 kB / 3.488 GB, free: 119.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/9.584, allocations: 16 kB / 3.488 GB, free: 119.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/9.586, allocations: 0.757 MB / 3.489 GB, free: 118.7 MB / 0.6042 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.005466/9.591, allocations: 4.7 MB / 3.494 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/9.593, allocations: 4.017 MB / 3.498 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003136/9.593, allocations: 198.1 kB / 3.498 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005332/9.594, allocations: 337.4 kB / 3.498 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006756/9.595, allocations: 31.69 kB / 3.498 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 5.039e-06/9.595, allocations: 3.984 kB / 3.498 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.003826/9.599, allocations: 1.426 MB / 3.5 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/9.599, allocations: 85.06 kB / 3.5 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/9.6, allocations: 1.046 MB / 3.501 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.433e-05/9.6, allocations: 41.64 kB / 3.501 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004453/9.601, allocations: 0.5165 MB / 3.501 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/9.601, allocations: 126.2 kB / 3.501 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/9.601, allocations: 12 kB / 3.501 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.916e-05/9.601, allocations: 330 kB / 3.502 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/9.602, allocations: 209 kB / 3.502 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/9.602, allocations: 0.556 MB / 3.502 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/9.603, allocations: 334.5 kB / 3.503 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/9.603, allocations: 0 / 3.503 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001701/9.604, allocations: 1.001 MB / 3.504 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005693/9.605, allocations: 2.222 MB / 3.506 GB, free: 99.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/9.605, allocations: 8 kB / 3.506 GB, free: 99.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006817/9.606, allocations: 336.9 kB / 3.506 GB, free: 99.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/9.606, allocations: 75.89 kB / 3.506 GB, free: 99.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/9.607, allocations: 1.118 MB / 3.507 GB, free: 98.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/9.609, allocations: 107.6 kB / 3.508 GB, free: 98.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.664e-05/9.609, allocations: 27.98 kB / 3.508 GB, free: 98.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/9.609, allocations: 4 kB / 3.508 GB, free: 98.25 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001489/9.611, allocations: 0.822 MB / 3.508 GB, free: 97.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/9.611, allocations: 8.062 kB / 3.508 GB, free: 97.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005556/9.611, allocations: 250.9 kB / 3.509 GB, free: 97.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/9.611, allocations: 83.81 kB / 3.509 GB, free: 97.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003937/9.615, allocations: 3.152 MB / 3.512 GB, free: 93.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/9.617, allocations: 99.8 kB / 3.512 GB, free: 93.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.072e-05/9.617, allocations: 24 kB / 3.512 GB, free: 93.67 MB / 0.6042 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.0008872/9.618, allocations: 488.9 kB / 3.512 GB, free: 93.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003348/9.618, allocations: 110.7 kB / 3.512 GB, free: 93.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/9.62, allocations: 0.8204 MB / 3.513 GB, free: 92.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/9.62, allocations: 4 kB / 3.513 GB, free: 92.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/9.62, allocations: 4 kB / 3.513 GB, free: 92.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/9.62, allocations: 0 / 3.513 GB, free: 92.23 MB / 0.6042 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.003236/9.623, allocations: 2.206 MB / 3.515 GB, free: 89.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/9.623, allocations: 4 kB / 3.515 GB, free: 89.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/9.623, allocations: 43.97 kB / 3.515 GB, free: 89.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004392/9.624, allocations: 244.9 kB / 3.516 GB, free: 89.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/9.624, allocations: 23.89 kB / 3.516 GB, free: 89.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007274/9.624, allocations: 0.9268 MB / 3.517 GB, free: 88.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/9.624, allocations: 7.938 kB / 3.517 GB, free: 88.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/9.626, allocations: 0.99 MB / 3.518 GB, free: 87.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005997/9.626, allocations: 231.7 kB / 3.518 GB, free: 87.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/9.626, allocations: 8 kB / 3.518 GB, free: 87.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008547/9.627, allocations: 83.75 kB / 3.518 GB, free: 87.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.995e-05/9.627, allocations: 31.95 kB / 3.518 GB, free: 87.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/9.627, allocations: 12 kB / 3.518 GB, free: 87.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001085/9.629, allocations: 0.8289 MB / 3.519 GB, free: 86.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/9.629, allocations: 0 / 3.519 GB, free: 86.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002281/9.631, allocations: 0.6049 MB / 3.519 GB, free: 85.72 MB / 0.6042 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.003241/9.634, allocations: 3 MB / 3.522 GB, free: 82.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00278/9.637, allocations: 1.295 MB / 3.524 GB, free: 81.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/9.637, allocations: 4.062 kB / 3.524 GB, free: 81.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005725/9.637, allocations: 324.5 kB / 3.524 GB, free: 80.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003363/9.641, allocations: 0.6468 MB / 3.524 GB, free: 80.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/9.655, allocations: 10.6 MB / 3.535 GB, free: 69.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007147/9.656, allocations: 1.232 MB / 3.536 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001334/9.657, allocations: 376.6 kB / 3.536 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000526/9.658, allocations: 359.3 kB / 3.537 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of SimCode: time 2.364e-06/9.658, allocations: 0 / 3.537 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08079/9.739, allocations: 48.18 MB / 3.584 GB, free: 19.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/9.739, allocations: 265.6 kB / 3.584 GB, free: 19.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.787/13.53, allocations: 0 / 3.584 GB, free: 19.21 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)