Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.701/1.701, allocations: 288.2 MB / 303.2 MB, free: 8.176 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.001157/0.001157, allocations: 193 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.747/1.747, allocations: 205.4 MB / 0.6305 GB, free: 9.984 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.0009567/0.0009567, allocations: 101.1 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004069, allocations: 12.38 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2444, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.871/5.116, allocations: 2.063 GB / 3.043 GB, free: 254.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/5.116, allocations: 83.95 kB / 3.043 GB, free: 254 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.954/8.07, allocations: 0.9618 GB / 4.005 GB, free: 9.316 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.324e-06/8.07, allocations: 0 / 4.005 GB, free: 9.316 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.663e-05/8.071, allocations: 27.98 kB / 4.005 GB, free: 9.289 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002926/8.074, allocations: 1.43 MB / 4.006 GB, free: 7.801 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.477e-05/8.074, allocations: 12.03 kB / 4.006 GB, free: 7.789 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/8.074, allocations: 102.5 kB / 4.006 GB, free: 7.68 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007293/8.074, allocations: 182.5 kB / 4.007 GB, free: 7.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/8.077, allocations: 1.096 MB / 4.008 GB, free: 6.348 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/8.077, allocations: 41 kB / 4.008 GB, free: 6.309 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-05/8.077, allocations: 67.89 kB / 4.008 GB, free: 6.242 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009403/8.078, allocations: 0.7627 MB / 4.008 GB, free: 5.398 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/8.078, allocations: 11.94 kB / 4.008 GB, free: 5.387 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/8.078, allocations: 20 kB / 4.008 GB, free: 5.367 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/8.078, allocations: 16 kB / 4.008 GB, free: 5.352 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007182/8.078, allocations: 0.511 MB / 4.009 GB, free: 4.844 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.556/8.634, allocations: 4.589 MB / 4.013 GB, free: 272.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/8.636, allocations: 419.6 kB / 4.014 GB, free: 272.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003391/8.636, allocations: 194.9 kB / 4.014 GB, free: 272.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006277/8.637, allocations: 290.6 kB / 4.014 GB, free: 272.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.404e-06/8.637, allocations: 0 / 4.014 GB, free: 272.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.002023/8.639, allocations: 0.6449 MB / 4.015 GB, free: 272.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/8.639, allocations: 84.2 kB / 4.015 GB, free: 272.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/8.64, allocations: 0.9876 MB / 4.016 GB, free: 272.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.718e-05/8.64, allocations: 37.55 kB / 4.016 GB, free: 272 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/8.641, allocations: 492.6 kB / 4.017 GB, free: 271.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/8.641, allocations: 114.4 kB / 4.017 GB, free: 271.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/8.641, allocations: 6.188 kB / 4.017 GB, free: 271.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.638e-05/8.641, allocations: 328 kB / 4.017 GB, free: 271.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/8.642, allocations: 185.2 kB / 4.017 GB, free: 271.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006071/8.642, allocations: 0.5088 MB / 4.018 GB, free: 271.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/8.643, allocations: 300.1 kB / 4.018 GB, free: 271.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/8.643, allocations: 2.156 kB / 4.018 GB, free: 271.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001337/8.644, allocations: 0.6795 MB / 4.019 GB, free: 271 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005576/8.645, allocations: 2.132 MB / 4.021 GB, free: 268.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/8.645, allocations: 5.938 kB / 4.021 GB, free: 268.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/8.645, allocations: 10.22 kB / 4.021 GB, free: 268.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/8.646, allocations: 290.1 kB / 4.021 GB, free: 268.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/8.649, allocations: 6.094 MB / 4.027 GB, free: 263 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/8.651, allocations: 101.9 kB / 4.027 GB, free: 263 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.768e-05/8.651, allocations: 26.27 kB / 4.027 GB, free: 263 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/8.651, allocations: 6.906 kB / 4.027 GB, free: 263 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001205/8.652, allocations: 0.5433 MB / 4.028 GB, free: 262.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/8.652, allocations: 5.188 kB / 4.028 GB, free: 262.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/8.652, allocations: 8.406 kB / 4.028 GB, free: 262.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/8.653, allocations: 147.9 kB / 4.028 GB, free: 262.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/8.653, allocations: 9 kB / 4.028 GB, free: 262.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/8.654, allocations: 99.77 kB / 4.028 GB, free: 262.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/8.654, allocations: 23.52 kB / 4.028 GB, free: 262.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008594/8.655, allocations: 479.5 kB / 4.028 GB, free: 262.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/8.655, allocations: 98 kB / 4.028 GB, free: 262.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/8.656, allocations: 0.4953 MB / 4.029 GB, free: 262.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/8.656, allocations: 3.656 kB / 4.029 GB, free: 262.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/8.656, allocations: 1.547 kB / 4.029 GB, free: 262.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/8.656, allocations: 2.016 kB / 4.029 GB, free: 262.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/8.659, allocations: 1.395 MB / 4.03 GB, free: 262.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/8.659, allocations: 2.656 kB / 4.03 GB, free: 262.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006889/8.66, allocations: 154.7 kB / 4.03 GB, free: 262.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/8.66, allocations: 3.312 kB / 4.03 GB, free: 262.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/8.66, allocations: 8.922 kB / 4.03 GB, free: 262.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/8.662, allocations: 6.02 MB / 4.036 GB, free: 256.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/8.662, allocations: 3.109 kB / 4.036 GB, free: 256.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/8.663, allocations: 0.7146 MB / 4.037 GB, free: 256 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005666/8.664, allocations: 214.3 kB / 4.037 GB, free: 255.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/8.664, allocations: 11.06 kB / 4.037 GB, free: 255.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/8.664, allocations: 53.94 kB / 4.037 GB, free: 255.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/8.664, allocations: 35.14 kB / 4.037 GB, free: 255.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/8.665, allocations: 16.08 kB / 4.037 GB, free: 255.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001494/8.666, allocations: 0.7792 MB / 4.038 GB, free: 255.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.833e-06/8.666, allocations: 0 / 4.038 GB, free: 255.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002303/8.668, allocations: 482.6 kB / 4.039 GB, free: 255.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003684/8.672, allocations: 2.521 MB / 4.041 GB, free: 254.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003505/8.676, allocations: 0.9651 MB / 4.042 GB, free: 254.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/8.676, allocations: 3.5 kB / 4.042 GB, free: 254.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009402/8.677, allocations: 286.2 kB / 4.042 GB, free: 254.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002875/8.679, allocations: 458.6 kB / 4.043 GB, free: 254.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/8.694, allocations: 9.623 MB / 4.052 GB, free: 248.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008456/8.695, allocations: 1.207 MB / 4.053 GB, free: 248.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001452/8.696, allocations: 382.2 kB / 4.054 GB, free: 248.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/8.696, allocations: 313.8 kB / 4.054 GB, free: 248.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.332e-06/8.696, allocations: 3.688 kB / 4.054 GB, free: 248.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09031/8.787, allocations: 40.12 MB / 4.093 GB, free: 247.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/8.787, allocations: 261.8 kB / 4.093 GB, free: 246.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.289/12.08, allocations: 4 kB / 4.093 GB, free: 246.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)