Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.665/1.665, allocations: 249.3 MB / 261.8 MB, free: 5.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 182.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.001182/0.001182, allocations: 90.45 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.708e-05/3.725e-05, allocations: 7.984 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2255, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.755/5.981, allocations: 2.182 GB / 3.074 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/5.981, allocations: 87.95 kB / 3.074 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.236/9.217, allocations: 0.9276 GB / 4.001 GB, free: 232.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.563e-06/9.217, allocations: 3.938 kB / 4.001 GB, free: 232.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.881e-05/9.217, allocations: 28.62 kB / 4.001 GB, free: 232.7 MB / 0.8698 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.001761/9.219, allocations: 1.147 MB / 4.002 GB, free: 232 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/9.219, allocations: 11.72 kB / 4.002 GB, free: 232 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/9.219, allocations: 93.81 kB / 4.002 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000718/9.22, allocations: 190 kB / 4.003 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/9.222, allocations: 1.08 MB / 4.004 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/9.222, allocations: 46.28 kB / 4.004 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.941e-05/9.222, allocations: 60.88 kB / 4.004 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008731/9.223, allocations: 0.7431 MB / 4.004 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/9.223, allocations: 7.781 kB / 4.004 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/9.223, allocations: 23.03 kB / 4.004 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/9.223, allocations: 11.16 kB / 4.005 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005759/9.223, allocations: 478.6 kB / 4.005 GB, free: 230.8 MB / 0.8698 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.003022/9.226, allocations: 4.59 MB / 4.009 GB, free: 227 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/9.227, allocations: 385.8 kB / 4.01 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/9.227, allocations: 225.1 kB / 4.01 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/9.227, allocations: 203.3 kB / 4.01 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003248/9.228, allocations: 263.7 kB / 4.01 GB, free: 226.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/9.228, allocations: 0 / 4.01 GB, free: 226.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.0007901/9.229, allocations: 460.7 kB / 4.011 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/9.229, allocations: 83.95 kB / 4.011 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009724/9.23, allocations: 0.9679 MB / 4.012 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/9.23, allocations: 36.95 kB / 4.012 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/9.23, allocations: 0.4912 MB / 4.012 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.781e-05/9.23, allocations: 109.5 kB / 4.013 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/9.23, allocations: 8 kB / 4.013 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.215e-05/9.23, allocations: 329.3 kB / 4.013 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/9.23, allocations: 165.2 kB / 4.013 GB, free: 225 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/9.231, allocations: 496.7 kB / 4.014 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/9.231, allocations: 271.9 kB / 4.014 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/9.231, allocations: 3.938 kB / 4.014 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007295/9.232, allocations: 0.6298 MB / 4.014 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003857/9.232, allocations: 2.137 MB / 4.016 GB, free: 222 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/9.232, allocations: 7.844 kB / 4.016 GB, free: 222 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/9.232, allocations: 11.62 kB / 4.016 GB, free: 222 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/9.234, allocations: 294 kB / 4.017 GB, free: 221.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/9.236, allocations: 6.094 MB / 4.023 GB, free: 216 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008228/9.237, allocations: 98.31 kB / 4.023 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/9.237, allocations: 27.09 kB / 4.023 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.185e-06/9.237, allocations: 3.812 kB / 4.023 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005787/9.237, allocations: 0.4927 MB / 4.023 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/9.237, allocations: 5.641 kB / 4.023 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/9.237, allocations: 8.625 kB / 4.023 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/9.238, allocations: 145.3 kB / 4.023 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/9.238, allocations: 11.62 kB / 4.023 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000591/9.239, allocations: 103.3 kB / 4.024 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/9.239, allocations: 24.81 kB / 4.024 GB, free: 215.7 MB / 0.8698 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.0001196/9.239, allocations: 149.1 kB / 4.024 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/9.239, allocations: 97.94 kB / 4.024 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000758/9.24, allocations: 462.5 kB / 4.024 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/9.24, allocations: 6.312 kB / 4.024 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/9.24, allocations: 7.156 kB / 4.024 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/9.24, allocations: 3.938 kB / 4.024 GB, free: 215.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/9.241, allocations: 1.35 MB / 4.026 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/9.242, allocations: 3.75 kB / 4.026 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007332/9.242, allocations: 159.5 kB / 4.026 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/9.242, allocations: 3.625 kB / 4.026 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/9.242, allocations: 11.58 kB / 4.026 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/9.244, allocations: 6.021 MB / 4.032 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/9.244, allocations: 3.969 kB / 4.032 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006176/9.245, allocations: 0.6536 MB / 4.032 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004092/9.245, allocations: 221.5 kB / 4.033 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/9.245, allocations: 11.58 kB / 4.033 GB, free: 208 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005694/9.246, allocations: 45.73 kB / 4.033 GB, free: 208 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-05/9.246, allocations: 40.61 kB / 4.033 GB, free: 208 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/9.246, allocations: 7.781 kB / 4.033 GB, free: 208 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009992/9.247, allocations: 0.7736 MB / 4.033 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.41e-07/9.247, allocations: 0 / 4.033 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001275/9.248, allocations: 481.8 kB / 4.034 GB, free: 207.7 MB / 0.8698 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.001747/9.25, allocations: 2.495 MB / 4.036 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002135/9.252, allocations: 0.951 MB / 4.037 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/9.252, allocations: 3.406 kB / 4.037 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00059/9.253, allocations: 255 kB / 4.037 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/9.255, allocations: 454.8 kB / 4.038 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/9.257, allocations: 1.661 MB / 4.04 GB, free: 205 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/9.258, allocations: 1.204 MB / 4.041 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001685/9.259, allocations: 0.7837 MB / 4.041 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/9.26, allocations: 300.7 kB / 4.042 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of SimCode: time 9.42e-07/9.26, allocations: 0 / 4.042 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0586/9.318, allocations: 43.83 MB / 4.085 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/9.318, allocations: 241.5 kB / 4.085 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.456/12.77, allocations: 0 / 4.085 GB, free: 167.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)