Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",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.401/1.401, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001264/0.001264, allocations: 176.5 kB / 326.5 MB, free: 2.242 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.867/1.867, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001017/0.001017, allocations: 90.41 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003312, allocations: 8.969 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2258, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.344/5.569, allocations: 2.185 GB / 3.085 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003657/5.57, allocations: 98.3 kB / 3.085 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.115/11.69, allocations: 1.923 GB / 5.008 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.196e-06/11.69, allocations: 0 / 5.008 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001989/11.69, allocations: 39.98 kB / 5.008 GB, free: 114.8 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.005953/11.69, allocations: 1.58 MB / 5.009 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/11.69, allocations: 15.97 kB / 5.009 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005123/11.69, allocations: 94.52 kB / 5.01 GB, free: 113 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/11.69, allocations: 202.4 kB / 5.01 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004685/11.7, allocations: 1.465 MB / 5.011 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.461e-05/11.7, allocations: 49.31 kB / 5.011 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/11.7, allocations: 67.94 kB / 5.011 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/11.7, allocations: 0.9462 MB / 5.012 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/11.7, allocations: 0 / 5.012 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.11e-05/11.7, allocations: 28 kB / 5.012 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/11.7, allocations: 16 kB / 5.012 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/11.7, allocations: 0.757 MB / 5.013 GB, free: 109.4 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.004793/11.71, allocations: 4.705 MB / 5.018 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/11.71, allocations: 4.005 MB / 5.022 GB, free: 99.52 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002829/11.71, allocations: 198.2 kB / 5.022 GB, free: 99.29 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000464/11.71, allocations: 327.2 kB / 5.022 GB, free: 98.95 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005566/11.71, allocations: 31.62 kB / 5.022 GB, free: 98.92 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 3.877e-06/11.71, allocations: 0 / 5.022 GB, free: 98.92 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.003493/11.71, allocations: 1.417 MB / 5.023 GB, free: 97.48 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/11.71, allocations: 81.11 kB / 5.024 GB, free: 97.38 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/11.71, allocations: 1.046 MB / 5.025 GB, free: 96.32 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.718e-05/11.71, allocations: 37.7 kB / 5.025 GB, free: 96.28 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/11.71, allocations: 0.5166 MB / 5.025 GB, free: 95.75 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.899e-05/11.71, allocations: 126.2 kB / 5.025 GB, free: 95.63 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/11.71, allocations: 12 kB / 5.025 GB, free: 95.62 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.448e-05/11.71, allocations: 322 kB / 5.026 GB, free: 95.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/11.72, allocations: 209 kB / 5.026 GB, free: 95.09 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/11.72, allocations: 0.5521 MB / 5.026 GB, free: 94.39 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/11.72, allocations: 339.5 kB / 5.027 GB, free: 94.06 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/11.72, allocations: 4 kB / 5.027 GB, free: 94.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001508/11.72, allocations: 1.01 MB / 5.028 GB, free: 93.03 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003995/11.72, allocations: 2.221 MB / 5.03 GB, free: 90.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/11.72, allocations: 4 kB / 5.03 GB, free: 90.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005903/11.72, allocations: 278.9 kB / 5.03 GB, free: 90.36 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/11.72, allocations: 83.77 kB / 5.03 GB, free: 90.28 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008462/11.72, allocations: 1.044 MB / 5.031 GB, free: 89.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/11.72, allocations: 103.8 kB / 5.031 GB, free: 89.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.232e-05/11.72, allocations: 27.98 kB / 5.031 GB, free: 89.08 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/11.72, allocations: 4.625 kB / 5.031 GB, free: 89.08 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00133/11.72, allocations: 0.8059 MB / 5.032 GB, free: 88.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/11.72, allocations: 4 kB / 5.032 GB, free: 88.26 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/11.72, allocations: 272.1 kB / 5.032 GB, free: 87.99 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/11.72, allocations: 71.89 kB / 5.032 GB, free: 87.92 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003199/11.73, allocations: 3.146 MB / 5.035 GB, free: 84.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/11.73, allocations: 99.86 kB / 5.036 GB, free: 84.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.115e-05/11.73, allocations: 24 kB / 5.036 GB, free: 84.52 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 (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 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0006883/11.73, allocations: 478.3 kB / 5.036 GB, free: 84.05 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/11.73, allocations: 114.5 kB / 5.036 GB, free: 83.93 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/11.73, allocations: 0.8242 MB / 5.037 GB, free: 83.09 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/11.73, allocations: 4 kB / 5.037 GB, free: 83.09 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/11.73, allocations: 0 / 5.037 GB, free: 83.09 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/11.73, allocations: 4 kB / 5.037 GB, free: 83.08 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.003086/11.73, allocations: 2.195 MB / 5.039 GB, free: 80.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/11.73, allocations: 4 kB / 5.039 GB, free: 80.74 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/11.73, allocations: 51.84 kB / 5.039 GB, free: 80.69 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004094/11.73, allocations: 204.8 kB / 5.039 GB, free: 80.49 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/11.73, allocations: 12 kB / 5.039 GB, free: 80.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005982/11.73, allocations: 0.8851 MB / 5.04 GB, free: 79.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/11.73, allocations: 0 / 5.04 GB, free: 79.57 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/11.74, allocations: 0.9982 MB / 5.041 GB, free: 78.48 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000555/11.74, allocations: 235.6 kB / 5.041 GB, free: 78.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/11.74, allocations: 12 kB / 5.041 GB, free: 78.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007848/11.74, allocations: 83.75 kB / 5.041 GB, free: 78.14 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/11.74, allocations: 39.84 kB / 5.042 GB, free: 78.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/11.74, allocations: 8 kB / 5.042 GB, free: 78.09 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009972/11.74, allocations: 0.8289 MB / 5.042 GB, free: 77.25 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.71e-07/11.74, allocations: 0 / 5.042 GB, free: 77.25 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001931/11.74, allocations: 0.6089 MB / 5.043 GB, free: 76.64 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 (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 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.002559/11.74, allocations: 3.014 MB / 5.046 GB, free: 73.56 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001763/11.74, allocations: 1.145 MB / 5.047 GB, free: 72.38 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/11.74, allocations: 4 kB / 5.047 GB, free: 72.37 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004159/11.75, allocations: 263.4 kB / 5.047 GB, free: 72.11 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/11.75, allocations: 0.6464 MB / 5.048 GB, free: 71.48 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/11.76, allocations: 10.48 MB / 5.058 GB, free: 60.62 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/11.76, allocations: 1.236 MB / 5.059 GB, free: 59.36 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001162/11.76, allocations: 376.6 kB / 5.06 GB, free: 58.98 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003518/11.76, allocations: 359.3 kB / 5.06 GB, free: 58.63 MB / 0.8855 GB Notification: Performance of SimCode: time 1.513e-06/11.76, allocations: 0 / 5.06 GB, free: 58.63 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07735/11.84, allocations: 48.54 MB / 5.107 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/11.84, allocations: 287 kB / 5.108 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.405/15.24, allocations: 0 / 5.108 GB, free: 10.11 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)