Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.58/1.58, allocations: 285.4 MB / 298 MB, free: 6.008 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.001122/0.001122, allocations: 172.8 kB / 366.4 MB, free: 2.074 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.315/1.315, allocations: 205.1 MB / 0.6248 GB, free: 7.715 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.000805/0.000805, allocations: 86.84 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.767e-05, allocations: 4 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6348/0.6348, allocations: 115.3 MB / 0.971 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.626/5.261, allocations: 2.066 GB / 3.037 GB, free: 28.02 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/5.262, allocations: 88.19 kB / 3.037 GB, free: 27.97 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.523/11.79, allocations: 1.799 GB / 4.836 GB, free: 66.54 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.393e-06/11.79, allocations: 0 / 4.836 GB, free: 66.54 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.151e-05/11.79, allocations: 31.98 kB / 4.836 GB, free: 66.5 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001757/11.79, allocations: 1.16 MB / 4.837 GB, free: 65.29 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/11.79, allocations: 12.03 kB / 4.837 GB, free: 65.28 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/11.79, allocations: 94.52 kB / 4.837 GB, free: 65.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007182/11.79, allocations: 182.5 kB / 4.838 GB, free: 65 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/11.79, allocations: 1.104 MB / 4.839 GB, free: 63.84 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/11.79, allocations: 41 kB / 4.839 GB, free: 63.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.846e-05/11.79, allocations: 60 kB / 4.839 GB, free: 63.74 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008994/11.79, allocations: 0.7417 MB / 4.839 GB, free: 62.91 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/11.79, allocations: 3.938 kB / 4.839 GB, free: 62.91 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/11.79, allocations: 27.95 kB / 4.84 GB, free: 62.88 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/11.79, allocations: 12 kB / 4.84 GB, free: 62.87 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005898/11.79, allocations: 478.6 kB / 4.84 GB, free: 62.41 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.003246/11.79, allocations: 4.575 MB / 4.844 GB, free: 57.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/11.8, allocations: 387 kB / 4.845 GB, free: 57.06 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/11.8, allocations: 224.1 kB / 4.845 GB, free: 56.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002812/11.8, allocations: 198.2 kB / 4.845 GB, free: 56.61 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/11.8, allocations: 274.7 kB / 4.845 GB, free: 56.32 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/11.8, allocations: 224 / 4.845 GB, free: 56.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.00124/11.8, allocations: 0.6623 MB / 4.846 GB, free: 55.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.522e-05/11.8, allocations: 88.98 kB / 4.846 GB, free: 55.55 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/11.8, allocations: 0.9729 MB / 4.847 GB, free: 54.55 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/11.8, allocations: 41.7 kB / 4.847 GB, free: 54.51 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/11.8, allocations: 0.4931 MB / 4.848 GB, free: 54.01 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.855e-05/11.8, allocations: 106.4 kB / 4.848 GB, free: 53.91 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/11.8, allocations: 8 kB / 4.848 GB, free: 53.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.444e-05/11.8, allocations: 329.9 kB / 4.848 GB, free: 53.57 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/11.8, allocations: 160.8 kB / 4.848 GB, free: 53.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/11.8, allocations: 488.8 kB / 4.849 GB, free: 52.79 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/11.8, allocations: 275.5 kB / 4.849 GB, free: 52.52 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/11.8, allocations: 4 kB / 4.849 GB, free: 52.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001085/11.8, allocations: 0.8535 MB / 4.85 GB, free: 51.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004136/11.8, allocations: 2.132 MB / 4.852 GB, free: 49.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/11.8, allocations: 7.984 kB / 4.852 GB, free: 49.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004779/11.8, allocations: 228.5 kB / 4.852 GB, free: 49.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/11.8, allocations: 63.84 kB / 4.852 GB, free: 49.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007784/11.8, allocations: 1.006 MB / 4.853 GB, free: 48.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007782/11.8, allocations: 107.4 kB / 4.853 GB, free: 47.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/11.8, allocations: 23.98 kB / 4.853 GB, free: 47.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/11.8, allocations: 4 kB / 4.853 GB, free: 47.89 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001025/11.81, allocations: 0.682 MB / 4.854 GB, free: 47.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/11.81, allocations: 7.938 kB / 4.854 GB, free: 47.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004325/11.81, allocations: 210.8 kB / 4.854 GB, free: 46.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/11.81, allocations: 63.91 kB / 4.854 GB, free: 46.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002936/11.81, allocations: 3.067 MB / 4.857 GB, free: 43.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006688/11.81, allocations: 107.5 kB / 4.857 GB, free: 43.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/11.81, allocations: 24 kB / 4.857 GB, free: 43.57 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 (34): * Single equations (assignments): 32 * 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.0001276/11.81, allocations: 140.6 kB / 4.858 GB, free: 43.43 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.47e-05/11.81, allocations: 106.7 kB / 4.858 GB, free: 43.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009786/11.81, allocations: 0.6826 MB / 4.858 GB, free: 42.63 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/11.81, allocations: 7.953 kB / 4.858 GB, free: 42.62 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/11.81, allocations: 0 / 4.858 GB, free: 42.62 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/11.81, allocations: 4 kB / 4.858 GB, free: 42.62 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/11.81, allocations: 1.566 MB / 4.86 GB, free: 40.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/11.81, allocations: 4 kB / 4.86 GB, free: 40.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/11.81, allocations: 19.98 kB / 4.86 GB, free: 40.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004028/11.81, allocations: 235 kB / 4.86 GB, free: 40.71 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/11.81, allocations: 15.95 kB / 4.86 GB, free: 40.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006229/11.81, allocations: 0.962 MB / 4.861 GB, free: 39.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/11.81, allocations: 7.922 kB / 4.861 GB, free: 39.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008221/11.81, allocations: 0.869 MB / 4.862 GB, free: 38.75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/11.81, allocations: 219.8 kB / 4.862 GB, free: 38.52 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.133e-05/11.81, allocations: 8 kB / 4.862 GB, free: 38.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/11.82, allocations: 55.8 kB / 4.862 GB, free: 38.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/11.82, allocations: 35.84 kB / 4.862 GB, free: 38.42 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/11.82, allocations: 12 kB / 4.862 GB, free: 38.41 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007991/11.82, allocations: 0.7768 MB / 4.863 GB, free: 37.62 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/11.82, allocations: 0 / 4.863 GB, free: 37.62 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001485/11.82, allocations: 0.5075 MB / 4.863 GB, free: 37.11 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 (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002052/11.82, allocations: 2.689 MB / 4.866 GB, free: 34.36 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001332/11.82, allocations: 1.014 MB / 4.867 GB, free: 33.31 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/11.82, allocations: 4.062 kB / 4.867 GB, free: 33.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004237/11.82, allocations: 218.5 kB / 4.867 GB, free: 33.09 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/11.82, allocations: 463.1 kB / 4.868 GB, free: 32.66 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/11.83, allocations: 1.65 MB / 4.869 GB, free: 30.94 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/11.83, allocations: 1.206 MB / 4.87 GB, free: 29.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001568/11.83, allocations: 0.7412 MB / 4.871 GB, free: 28.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/11.83, allocations: 295.3 kB / 4.872 GB, free: 28.67 MB / 0.948 GB Notification: Performance of SimCode: time 3.9e-07/11.83, allocations: 0 / 4.872 GB, free: 28.67 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6313/12.46, allocations: 46.34 MB / 4.917 GB, free: 274.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/12.46, allocations: 244.3 kB / 4.917 GB, free: 274.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.418/15.88, allocations: 3.844 kB / 4.917 GB, free: 274.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)