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.646/1.646, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001194/0.001194, allocations: 180.2 kB / 361.4 MB, free: 6.828 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.902/1.902, allocations: 205.2 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008566/0.0008565, allocations: 89.31 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.809e-05/1.802e-05, allocations: 4 kB / 0.8518 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7532/0.7533, allocations: 115.3 MB / 0.9645 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.326/6.079, allocations: 2.063 GB / 3.027 GB, free: 98.75 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/6.08, allocations: 91.38 kB / 3.027 GB, free: 98.66 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.801/9.88, allocations: 0.9507 GB / 3.978 GB, free: 264.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.515e-06/9.88, allocations: 7.969 kB / 3.978 GB, free: 264.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001577/9.881, allocations: 29.73 kB / 3.978 GB, free: 264 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.002894/9.883, allocations: 1.14 MB / 3.979 GB, free: 263.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/9.884, allocations: 11.06 kB / 3.979 GB, free: 263.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/9.885, allocations: 188.2 kB / 3.979 GB, free: 263.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002997/9.888, allocations: 1.077 MB / 3.98 GB, free: 262.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/9.888, allocations: 16.56 kB / 3.98 GB, free: 262.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/9.888, allocations: 37.97 kB / 3.98 GB, free: 262.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008385/9.889, allocations: 468 kB / 3.981 GB, free: 262.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009072/9.89, allocations: 0.68 MB / 3.982 GB, free: 261.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/9.89, allocations: 3.938 kB / 3.982 GB, free: 261.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.678e-05/9.89, allocations: 3.969 kB / 3.982 GB, free: 261.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/9.89, allocations: 11.28 kB / 3.982 GB, free: 261.8 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.003837/9.894, allocations: 4.475 MB / 3.986 GB, free: 257.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004878/9.894, allocations: 452.8 kB / 3.986 GB, free: 256.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/9.895, allocations: 235.3 kB / 3.987 GB, free: 256.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002679/9.895, allocations: 194.2 kB / 3.987 GB, free: 256.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003133/9.895, allocations: 263.2 kB / 3.987 GB, free: 256.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/9.895, allocations: 0 / 3.987 GB, free: 256.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001014/9.896, allocations: 486.1 kB / 3.988 GB, free: 255.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/9.896, allocations: 89.09 kB / 3.988 GB, free: 255.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/9.897, allocations: 0.8479 MB / 3.988 GB, free: 254.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/9.897, allocations: 29.7 kB / 3.988 GB, free: 254.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/9.898, allocations: 496 kB / 3.989 GB, free: 254.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.81e-05/9.898, allocations: 106.5 kB / 3.989 GB, free: 254 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/9.898, allocations: 0 / 3.989 GB, free: 254 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.046e-05/9.898, allocations: 326 kB / 3.989 GB, free: 253.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/9.898, allocations: 176.8 kB / 3.99 GB, free: 253.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/9.898, allocations: 0.4921 MB / 3.99 GB, free: 252.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/9.899, allocations: 257.5 kB / 3.99 GB, free: 252.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/9.899, allocations: 7.938 kB / 3.99 GB, free: 252.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008657/9.9, allocations: 0.6219 MB / 3.991 GB, free: 252 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004685/9.9, allocations: 2.122 MB / 3.993 GB, free: 249.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/9.9, allocations: 8 kB / 3.993 GB, free: 249.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.268e-05/9.9, allocations: 8 kB / 3.993 GB, free: 249.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/9.902, allocations: 311.4 kB / 3.993 GB, free: 249.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/9.904, allocations: 6.185 MB / 3.999 GB, free: 243 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009585/9.905, allocations: 87.77 kB / 3.999 GB, free: 242.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.238e-05/9.905, allocations: 24 kB / 3.999 GB, free: 242.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/9.905, allocations: 4 kB / 3.999 GB, free: 242.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005604/9.906, allocations: 415.3 kB / 4 GB, free: 242.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/9.906, allocations: 4 kB / 4 GB, free: 242.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/9.906, allocations: 8 kB / 4 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/9.906, allocations: 152.4 kB / 4 GB, free: 242.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/9.906, allocations: 15.92 kB / 4 GB, free: 242.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008681/9.907, allocations: 75.62 kB / 4 GB, free: 242.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/9.907, allocations: 24 kB / 4 GB, free: 242.2 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 () * 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.0001981/9.908, allocations: 131 kB / 4 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005866/9.908, allocations: 408.2 kB / 4.001 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/9.908, allocations: 94.88 kB / 4.001 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007177/9.909, allocations: 446.9 kB / 4.001 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/9.909, allocations: 4 kB / 4.001 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/9.909, allocations: 0 / 4.001 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/9.909, allocations: 0 / 4.001 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/9.911, allocations: 1.264 MB / 4.002 GB, free: 239.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/9.911, allocations: 4 kB / 4.002 GB, free: 239.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006024/9.912, allocations: 150.9 kB / 4.002 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/9.912, allocations: 4 kB / 4.002 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/9.912, allocations: 12.17 kB / 4.003 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/9.914, allocations: 6.036 MB / 4.008 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/9.914, allocations: 4.031 kB / 4.008 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005943/9.914, allocations: 0.636 MB / 4.009 GB, free: 232.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000404/9.915, allocations: 215.8 kB / 4.009 GB, free: 232.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/9.915, allocations: 4 kB / 4.009 GB, free: 232.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005825/9.916, allocations: 47.86 kB / 4.009 GB, free: 232.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.222e-05/9.916, allocations: 31.91 kB / 4.009 GB, free: 232.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/9.916, allocations: 12 kB / 4.009 GB, free: 232.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008119/9.917, allocations: 0.6649 MB / 4.01 GB, free: 231.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.21e-07/9.917, allocations: 0 / 4.01 GB, free: 231.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001605/9.918, allocations: 459.3 kB / 4.01 GB, free: 231.2 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) * 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.002655/9.921, allocations: 2.589 MB / 4.013 GB, free: 228.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002395/9.923, allocations: 0.9355 MB / 4.014 GB, free: 227.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/9.923, allocations: 0 / 4.014 GB, free: 227.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005726/9.924, allocations: 248.2 kB / 4.014 GB, free: 227.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/9.926, allocations: 397.6 kB / 4.014 GB, free: 227.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/9.929, allocations: 1.608 MB / 4.016 GB, free: 225.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006295/9.93, allocations: 1.198 MB / 4.017 GB, free: 224.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001877/9.931, allocations: 0.7446 MB / 4.018 GB, free: 223.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003128/9.932, allocations: 291.3 kB / 4.018 GB, free: 223.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.463e-06/9.932, allocations: 0 / 4.018 GB, free: 223.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06062/9.992, allocations: 30.69 MB / 4.048 GB, free: 192.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/9.993, allocations: 191.6 kB / 4.048 GB, free: 192.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.186/13.18, allocations: 4.031 kB / 4.048 GB, free: 192.4 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)