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.791/1.791, allocations: 288.2 MB / 303.2 MB, free: 8.18 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.001266/0.001266, allocations: 178.1 kB / 371.8 MB, free: 10.28 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.822/1.822, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0008837/0.0008836, allocations: 98.53 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004118, allocations: 11.34 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2362, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.107/5.344, allocations: 2.066 GB / 3.046 GB, free: 205.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/5.344, allocations: 91.83 kB / 3.046 GB, free: 205.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.09/11.43, allocations: 1.8 GB / 4.846 GB, free: 233.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.814e-06/11.43, allocations: 0 / 4.846 GB, free: 233.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001798/11.43, allocations: 27.98 kB / 4.846 GB, free: 233.1 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.004579/11.44, allocations: 1.434 MB / 4.848 GB, free: 231.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/11.44, allocations: 11.97 kB / 4.848 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002785/11.44, allocations: 98.52 kB / 4.848 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009901/11.44, allocations: 192.7 kB / 4.848 GB, free: 231.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/11.44, allocations: 1.108 MB / 4.849 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/11.44, allocations: 45 kB / 4.849 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.022e-05/11.44, allocations: 63.95 kB / 4.849 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/11.44, allocations: 0.7654 MB / 4.85 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/11.44, allocations: 4 kB / 4.85 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.786e-05/11.44, allocations: 20 kB / 4.85 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/11.44, allocations: 16 kB / 4.85 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000727/11.45, allocations: 0.5188 MB / 4.851 GB, free: 228.7 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.003615/11.45, allocations: 4.591 MB / 4.855 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/11.45, allocations: 426.4 kB / 4.855 GB, free: 223.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002604/11.45, allocations: 190.2 kB / 4.856 GB, free: 223.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004317/11.45, allocations: 291.5 kB / 4.856 GB, free: 222.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.416e-06/11.45, allocations: 0 / 4.856 GB, free: 222.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.00365/11.45, allocations: 1.221 MB / 4.857 GB, free: 221.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/11.45, allocations: 85.11 kB / 4.857 GB, free: 221.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/11.45, allocations: 0.9837 MB / 4.858 GB, free: 220.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/11.46, allocations: 37.7 kB / 4.858 GB, free: 220.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/11.46, allocations: 497 kB / 4.859 GB, free: 219.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/11.46, allocations: 114.5 kB / 4.859 GB, free: 219.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/11.46, allocations: 12 kB / 4.859 GB, free: 219.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.468e-05/11.46, allocations: 322 kB / 4.859 GB, free: 219.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/11.46, allocations: 184.7 kB / 4.859 GB, free: 219.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/11.46, allocations: 0.5083 MB / 4.86 GB, free: 218.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/11.46, allocations: 297.5 kB / 4.86 GB, free: 218.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/11.46, allocations: 224 / 4.86 GB, free: 218.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001224/11.46, allocations: 0.9039 MB / 4.861 GB, free: 217.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000465/11.46, allocations: 2.139 MB / 4.863 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/11.46, allocations: 4 kB / 4.863 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00048/11.46, allocations: 229.4 kB / 4.863 GB, free: 214.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/11.46, allocations: 67.91 kB / 4.863 GB, free: 214.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007836/11.46, allocations: 0.9991 MB / 4.864 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008476/11.46, allocations: 111.4 kB / 4.864 GB, free: 213.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/11.46, allocations: 20 kB / 4.864 GB, free: 213.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/11.46, allocations: 4 kB / 4.864 GB, free: 213.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00118/11.46, allocations: 0.7326 MB / 4.865 GB, free: 212.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/11.46, allocations: 4 kB / 4.865 GB, free: 212.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004618/11.46, allocations: 217.2 kB / 4.865 GB, free: 212.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/11.46, allocations: 63.84 kB / 4.865 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/11.47, allocations: 3.147 MB / 4.868 GB, free: 209.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009233/11.47, allocations: 99.91 kB / 4.869 GB, free: 209.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/11.47, allocations: 20 kB / 4.869 GB, free: 209.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 () * Number of clocked 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.0006318/11.47, allocations: 474.8 kB / 4.869 GB, free: 208.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/11.47, allocations: 98.78 kB / 4.869 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/11.47, allocations: 0.7254 MB / 4.87 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/11.47, allocations: 4 kB / 4.87 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/11.47, allocations: 7.984 kB / 4.87 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/11.47, allocations: 0 / 4.87 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/11.47, allocations: 1.601 MB / 4.871 GB, free: 206.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/11.47, allocations: 4 kB / 4.871 GB, free: 206.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/11.47, allocations: 23.98 kB / 4.871 GB, free: 206.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004066/11.47, allocations: 231.2 kB / 4.872 GB, free: 205.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/11.47, allocations: 11.94 kB / 4.872 GB, free: 205.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006507/11.47, allocations: 0.9722 MB / 4.873 GB, free: 204.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/11.47, allocations: 4 kB / 4.873 GB, free: 204.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/11.47, allocations: 0.9323 MB / 4.873 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/11.47, allocations: 223.8 kB / 4.874 GB, free: 203.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.413e-05/11.47, allocations: 15.89 kB / 4.874 GB, free: 203.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/11.47, allocations: 51.86 kB / 4.874 GB, free: 203.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.787e-05/11.47, allocations: 31.95 kB / 4.874 GB, free: 203.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/11.47, allocations: 12 kB / 4.874 GB, free: 203.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008984/11.48, allocations: 0.7915 MB / 4.875 GB, free: 202.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/11.48, allocations: 0 / 4.875 GB, free: 202.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001561/11.48, allocations: 0.5152 MB / 4.875 GB, free: 202.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) * Number of clocked states: 0 () * 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.002439/11.48, allocations: 2.703 MB / 4.878 GB, free: 199.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001666/11.48, allocations: 1.046 MB / 4.879 GB, free: 198.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/11.48, allocations: 0 / 4.879 GB, free: 198.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004255/11.48, allocations: 233.9 kB / 4.879 GB, free: 198.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/11.48, allocations: 456.3 kB / 4.879 GB, free: 197.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/11.49, allocations: 9.82 MB / 4.889 GB, free: 187.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/11.49, allocations: 1.206 MB / 4.89 GB, free: 186.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001071/11.5, allocations: 323.8 kB / 4.89 GB, free: 186 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/11.5, allocations: 315.3 kB / 4.891 GB, free: 185.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.292e-06/11.5, allocations: 0 / 4.891 GB, free: 185.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0622/11.56, allocations: 42.49 MB / 4.932 GB, free: 143.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/11.56, allocations: 274.9 kB / 4.933 GB, free: 143.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.462/15.02, allocations: 0 / 4.933 GB, free: 143.2 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)