Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.376/1.376, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 185.2 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.907/1.907, allocations: 205.4 MB / 0.5775 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009347/0.0009348, allocations: 93.73 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005063/0.0005062, allocations: 12.97 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2289, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.987/5.216, allocations: 2.182 GB / 3.082 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000426/5.216, allocations: 96.27 kB / 3.082 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.998/11.21, allocations: 1.913 GB / 4.995 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.086e-06/11.21, allocations: 4 kB / 4.995 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002697/11.21, allocations: 35.98 kB / 4.995 GB, free: 129.7 MB / 0.8855 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.008333/11.22, allocations: 1.572 MB / 4.997 GB, free: 128 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/11.22, allocations: 12.03 kB / 4.997 GB, free: 128 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006243/11.22, allocations: 98.52 kB / 4.997 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/11.23, allocations: 202.3 kB / 4.997 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006836/11.23, allocations: 1.445 MB / 4.999 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/11.23, allocations: 49.31 kB / 4.999 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003495/11.23, allocations: 68 kB / 4.999 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002594/11.24, allocations: 0.9501 MB / 5 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/11.24, allocations: 4 kB / 5 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/11.24, allocations: 24 kB / 5 GB, free: 125 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/11.24, allocations: 12 kB / 5 GB, free: 125 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/11.24, allocations: 0.7648 MB / 5 GB, free: 124.3 MB / 0.8855 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.006472/11.24, allocations: 4.736 MB / 5.005 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/11.25, allocations: 4.058 MB / 5.009 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003863/11.25, allocations: 198.2 kB / 5.009 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006854/11.25, allocations: 326.8 kB / 5.01 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008986/11.25, allocations: 31.69 kB / 5.01 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 8.536e-06/11.25, allocations: 4 kB / 5.01 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.004934/11.25, allocations: 1.302 MB / 5.011 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/11.25, allocations: 85.05 kB / 5.011 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/11.26, allocations: 1.042 MB / 5.012 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001509/11.26, allocations: 41.7 kB / 5.012 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006794/11.26, allocations: 0.5127 MB / 5.012 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/11.26, allocations: 130.2 kB / 5.013 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/11.26, allocations: 8 kB / 5.013 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/11.26, allocations: 333.9 kB / 5.013 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006007/11.26, allocations: 213 kB / 5.013 GB, free: 110 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008777/11.26, allocations: 0.5522 MB / 5.014 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007293/11.26, allocations: 336.2 kB / 5.014 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/11.26, allocations: 0 / 5.014 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002722/11.26, allocations: 0.9746 MB / 5.015 GB, free: 108 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005818/11.26, allocations: 2.229 MB / 5.017 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/11.26, allocations: 4 kB / 5.017 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008415/11.26, allocations: 245.9 kB / 5.017 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/11.26, allocations: 75.89 kB / 5.017 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/11.27, allocations: 1.003 MB / 5.018 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/11.27, allocations: 99.8 kB / 5.018 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/11.27, allocations: 27.98 kB / 5.019 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/11.27, allocations: 6.969 kB / 5.019 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002082/11.27, allocations: 0.7868 MB / 5.019 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/11.27, allocations: 12.12 kB / 5.019 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007801/11.27, allocations: 220.7 kB / 5.02 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/11.27, allocations: 75.89 kB / 5.02 GB, free: 103 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004524/11.28, allocations: 2.953 MB / 5.022 GB, free: 99.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/11.28, allocations: 99.86 kB / 5.023 GB, free: 99.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/11.28, allocations: 24 kB / 5.023 GB, free: 99.78 MB / 0.8855 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): 38 * 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0009784/11.28, allocations: 479.3 kB / 5.023 GB, free: 99.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/11.28, allocations: 102.7 kB / 5.023 GB, free: 99.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/11.28, allocations: 0.8085 MB / 5.024 GB, free: 98.38 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/11.28, allocations: 4 kB / 5.024 GB, free: 98.37 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/11.28, allocations: 0 / 5.024 GB, free: 98.37 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/11.28, allocations: 0 / 5.024 GB, free: 98.37 MB / 0.8855 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.004463/11.29, allocations: 2.14 MB / 5.026 GB, free: 96.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/11.29, allocations: 4 kB / 5.026 GB, free: 96.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/11.29, allocations: 55.84 kB / 5.026 GB, free: 96.03 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005124/11.29, allocations: 180.8 kB / 5.026 GB, free: 95.85 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/11.29, allocations: 20 kB / 5.026 GB, free: 95.83 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008493/11.29, allocations: 0.845 MB / 5.027 GB, free: 94.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/11.29, allocations: 7.938 kB / 5.027 GB, free: 94.95 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/11.29, allocations: 0.9661 MB / 5.028 GB, free: 93.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009127/11.29, allocations: 235.6 kB / 5.028 GB, free: 93.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003942/11.29, allocations: 8 kB / 5.028 GB, free: 93.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/11.29, allocations: 83.75 kB / 5.028 GB, free: 93.56 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/11.29, allocations: 39.94 kB / 5.028 GB, free: 93.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/11.29, allocations: 12 kB / 5.028 GB, free: 93.51 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001981/11.29, allocations: 0.8248 MB / 5.029 GB, free: 92.68 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.6e-07/11.29, allocations: 0 / 5.029 GB, free: 92.68 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003694/11.3, allocations: 0.6088 MB / 5.03 GB, free: 92.07 MB / 0.8855 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): 23 * 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 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.004409/11.3, allocations: 2.934 MB / 5.033 GB, free: 89.05 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002994/11.31, allocations: 1.138 MB / 5.034 GB, free: 87.88 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/11.31, allocations: 0 / 5.034 GB, free: 87.88 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006884/11.31, allocations: 256.2 kB / 5.034 GB, free: 87.63 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005192/11.31, allocations: 0.6495 MB / 5.035 GB, free: 86.99 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/11.33, allocations: 10.43 MB / 5.045 GB, free: 76.17 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/11.33, allocations: 1.24 MB / 5.046 GB, free: 74.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002283/11.34, allocations: 384.6 kB / 5.046 GB, free: 74.52 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008777/11.34, allocations: 355.3 kB / 5.047 GB, free: 74.18 MB / 0.8855 GB Notification: Performance of SimCode: time 1.122e-06/11.34, allocations: 0 / 5.047 GB, free: 74.18 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1044/11.44, allocations: 47.38 MB / 5.093 GB, free: 27.18 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/11.44, allocations: 286.1 kB / 5.093 GB, free: 26.83 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.622/15.06, allocations: 2.344 kB / 5.093 GB, free: 26.83 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)