Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.693/2.693, allocations: 287.3 MB / 302.3 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001545, allocations: 183.7 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001259/0.001258, allocations: 101.8 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004933, allocations: 12.91 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2107, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.53/6.741, allocations: 2.063 GB / 3.042 GB, free: 195.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/6.741, allocations: 93.45 kB / 3.042 GB, free: 195.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.991/16.73, allocations: 1.983 GB / 5.025 GB, free: 37.72 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.015e-06/16.73, allocations: 0 / 5.025 GB, free: 37.72 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002032/16.73, allocations: 35.92 kB / 5.025 GB, free: 37.68 MB / 0.948 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.008959/16.74, allocations: 1.589 MB / 5.026 GB, free: 36.03 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/16.74, allocations: 11.97 kB / 5.026 GB, free: 36.02 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004819/16.74, allocations: 98.5 kB / 5.026 GB, free: 35.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/16.74, allocations: 206.4 kB / 5.027 GB, free: 35.71 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006543/16.75, allocations: 1.445 MB / 5.028 GB, free: 34.21 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.723e-05/16.75, allocations: 49.27 kB / 5.028 GB, free: 34.16 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/16.75, allocations: 64 kB / 5.028 GB, free: 34.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/16.75, allocations: 0.9527 MB / 5.029 GB, free: 33.07 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/16.75, allocations: 3.938 kB / 5.029 GB, free: 33.06 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.623e-05/16.75, allocations: 28 kB / 5.029 GB, free: 33.04 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/16.75, allocations: 16 kB / 5.029 GB, free: 33.02 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/16.75, allocations: 0.7531 MB / 5.03 GB, free: 32.27 MB / 0.948 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.006626/16.76, allocations: 4.747 MB / 5.034 GB, free: 27.19 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002764/16.76, allocations: 4.066 MB / 5.038 GB, free: 22.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000438/16.76, allocations: 186.2 kB / 5.039 GB, free: 22.08 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008239/16.77, allocations: 329.4 kB / 5.039 GB, free: 21.74 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006776/16.77, allocations: 31.75 kB / 5.039 GB, free: 21.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.106e-06/16.77, allocations: 0 / 5.039 GB, free: 21.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.005611/16.77, allocations: 1.302 MB / 5.04 GB, free: 20.38 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/16.77, allocations: 89.08 kB / 5.04 GB, free: 20.27 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/16.77, allocations: 1.038 MB / 5.041 GB, free: 19.22 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001415/16.77, allocations: 37.7 kB / 5.041 GB, free: 19.18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005166/16.77, allocations: 0.5205 MB / 5.042 GB, free: 18.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/16.77, allocations: 126.1 kB / 5.042 GB, free: 18.53 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/16.77, allocations: 12 kB / 5.042 GB, free: 18.52 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.573e-05/16.77, allocations: 329.9 kB / 5.042 GB, free: 18.19 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/16.78, allocations: 213 kB / 5.042 GB, free: 17.98 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008433/16.78, allocations: 0.5482 MB / 5.043 GB, free: 17.29 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000777/16.78, allocations: 325.3 kB / 5.043 GB, free: 16.97 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/16.78, allocations: 0 / 5.043 GB, free: 16.97 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002649/16.78, allocations: 0.9826 MB / 5.044 GB, free: 15.97 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004815/16.78, allocations: 2.226 MB / 5.046 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/16.78, allocations: 8 kB / 5.046 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/16.78, allocations: 232.6 kB / 5.047 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/16.78, allocations: 79.89 kB / 5.047 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/16.78, allocations: 0.9987 MB / 5.048 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/16.79, allocations: 115.5 kB / 5.048 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/16.79, allocations: 31.98 kB / 5.048 GB, free: 12.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/16.79, allocations: 4 kB / 5.048 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002261/16.79, allocations: 0.7786 MB / 5.049 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/16.79, allocations: 4 kB / 5.049 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009776/16.79, allocations: 234.5 kB / 5.049 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005087/16.79, allocations: 75.83 kB / 5.049 GB, free: 10.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005002/16.79, allocations: 2.947 MB / 5.052 GB, free: 7.918 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/16.8, allocations: 103.8 kB / 5.052 GB, free: 7.816 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/16.8, allocations: 24 kB / 5.052 GB, free: 7.793 MB / 0.948 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.0009045/16.8, allocations: 480.9 kB / 5.052 GB, free: 7.312 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/16.8, allocations: 114.5 kB / 5.053 GB, free: 7.199 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/16.8, allocations: 0.7892 MB / 5.053 GB, free: 6.398 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/16.8, allocations: 4 kB / 5.053 GB, free: 6.395 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/16.8, allocations: 0 / 5.053 GB, free: 6.395 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/16.8, allocations: 8 kB / 5.053 GB, free: 6.387 MB / 0.948 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.004719/16.8, allocations: 2.148 MB / 5.055 GB, free: 4.098 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/16.8, allocations: 3.953 kB / 5.055 GB, free: 4.094 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/16.8, allocations: 51.97 kB / 5.055 GB, free: 4.043 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006598/16.81, allocations: 172.6 kB / 5.056 GB, free: 3.871 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/16.81, allocations: 15.98 kB / 5.056 GB, free: 3.855 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000967/16.81, allocations: 0.8538 MB / 5.056 GB, free: 2.977 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/16.81, allocations: 4.031 kB / 5.056 GB, free: 2.973 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/16.81, allocations: 0.9709 MB / 5.057 GB, free: 1.914 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00067/16.81, allocations: 235.7 kB / 5.058 GB, free: 1.664 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/16.81, allocations: 15.98 kB / 5.058 GB, free: 1.648 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/16.81, allocations: 75.77 kB / 5.058 GB, free: 1.574 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/16.81, allocations: 35.95 kB / 5.058 GB, free: 1.539 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/16.81, allocations: 11.98 kB / 5.058 GB, free: 1.527 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001724/16.81, allocations: 0.8249 MB / 5.059 GB, free: 0.6953 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.11e-07/16.81, allocations: 0 / 5.059 GB, free: 0.6953 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002803/16.82, allocations: 0.601 MB / 5.059 GB, free: 96 kB / 0.948 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.7165/17.53, allocations: 2.943 MB / 5.062 GB, free: 244.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003666/17.54, allocations: 1.135 MB / 5.063 GB, free: 244 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/17.54, allocations: 0 / 5.063 GB, free: 244 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009308/17.54, allocations: 259.8 kB / 5.063 GB, free: 244 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00656/17.54, allocations: 0.6381 MB / 5.064 GB, free: 244 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/17.57, allocations: 10.43 MB / 5.074 GB, free: 238.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/17.57, allocations: 1.234 MB / 5.075 GB, free: 237.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002395/17.57, allocations: 392.8 kB / 5.076 GB, free: 237.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000764/17.57, allocations: 359.9 kB / 5.076 GB, free: 237.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.172e-06/17.57, allocations: 0 / 5.076 GB, free: 237.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1269/17.7, allocations: 47.36 MB / 5.122 GB, free: 237 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/17.7, allocations: 284.9 kB / 5.123 GB, free: 236.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.256/21.95, allocations: 0 / 5.123 GB, free: 236.6 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)