Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.852/1.852, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001431/0.001431, allocations: 182.9 kB / 377.1 MB, free: 1.52 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.885/1.885, allocations: 205.4 MB / 0.6366 GB, free: 8.535 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.001183/0.001183, allocations: 86.16 kB / 0.7509 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.000397, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3118, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.036/6.348, allocations: 2.067 GB / 3.056 GB, free: 114.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003681/6.348, allocations: 95.86 kB / 3.056 GB, free: 114.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.802/13.15, allocations: 1.801 GB / 4.856 GB, free: 123.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.206e-06/13.15, allocations: 0 / 4.856 GB, free: 123.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.978e-05/13.15, allocations: 31.98 kB / 4.856 GB, free: 123.2 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.002958/13.15, allocations: 1.444 MB / 4.858 GB, free: 121.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/13.15, allocations: 8.031 kB / 4.858 GB, free: 121.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/13.15, allocations: 94.52 kB / 4.858 GB, free: 121.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007397/13.15, allocations: 182.5 kB / 4.858 GB, free: 121.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/13.16, allocations: 1.116 MB / 4.859 GB, free: 120.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/13.16, allocations: 41 kB / 4.859 GB, free: 120.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-05/13.16, allocations: 60 kB / 4.859 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009312/13.16, allocations: 0.7702 MB / 4.86 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/13.16, allocations: 0 / 4.86 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/13.16, allocations: 27.98 kB / 4.86 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/13.16, allocations: 12.86 kB / 4.86 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007368/13.16, allocations: 0.511 MB / 4.86 GB, free: 118.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.003289/13.16, allocations: 4.591 MB / 4.865 GB, free: 113.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005982/13.16, allocations: 420.5 kB / 4.865 GB, free: 113.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002802/13.16, allocations: 198.2 kB / 4.865 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004193/13.16, allocations: 289 kB / 4.866 GB, free: 112.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/13.16, allocations: 224 / 4.866 GB, free: 112.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.002871/13.17, allocations: 1.222 MB / 4.867 GB, free: 111.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/13.17, allocations: 92.98 kB / 4.867 GB, free: 111.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/13.17, allocations: 0.9837 MB / 4.868 GB, free: 110.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/13.17, allocations: 33.7 kB / 4.868 GB, free: 110.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/13.17, allocations: 0.4932 MB / 4.869 GB, free: 109.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.447e-05/13.17, allocations: 110.5 kB / 4.869 GB, free: 109.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/13.17, allocations: 8 kB / 4.869 GB, free: 109.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.959e-05/13.17, allocations: 326 kB / 4.869 GB, free: 109.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/13.17, allocations: 180.7 kB / 4.869 GB, free: 109.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004329/13.17, allocations: 0.5007 MB / 4.87 GB, free: 108.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/13.17, allocations: 291.3 kB / 4.87 GB, free: 108.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/13.17, allocations: 4 kB / 4.87 GB, free: 108.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001253/13.17, allocations: 0.9061 MB / 4.871 GB, free: 107.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004586/13.17, allocations: 2.131 MB / 4.873 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/13.17, allocations: 4 kB / 4.873 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004945/13.17, allocations: 238.4 kB / 4.873 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/13.17, allocations: 63.91 kB / 4.873 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008131/13.17, allocations: 0.9971 MB / 4.874 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008725/13.17, allocations: 107.4 kB / 4.874 GB, free: 103.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/13.17, allocations: 27.98 kB / 4.874 GB, free: 103.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/13.17, allocations: 8.562 kB / 4.874 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001164/13.17, allocations: 0.7244 MB / 4.875 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/13.17, allocations: 8.125 kB / 4.875 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004469/13.17, allocations: 218.1 kB / 4.875 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/13.17, allocations: 59.91 kB / 4.875 GB, free: 102.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003064/13.18, allocations: 3.162 MB / 4.878 GB, free: 99.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007581/13.18, allocations: 95.53 kB / 4.878 GB, free: 99.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/13.18, allocations: 27.98 kB / 4.878 GB, free: 99.18 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.0005724/13.18, allocations: 460.8 kB / 4.879 GB, free: 98.72 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/13.18, allocations: 106.7 kB / 4.879 GB, free: 98.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/13.18, allocations: 0.7178 MB / 4.88 GB, free: 97.89 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/13.18, allocations: 4 kB / 4.88 GB, free: 97.89 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/13.18, allocations: 0 / 4.88 GB, free: 97.89 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/13.18, allocations: 0 / 4.88 GB, free: 97.89 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/13.18, allocations: 1.61 MB / 4.881 GB, free: 96.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/13.18, allocations: 4 kB / 4.881 GB, free: 96.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/13.18, allocations: 24.2 kB / 4.881 GB, free: 96.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004024/13.18, allocations: 224.5 kB / 4.882 GB, free: 95.95 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/13.18, allocations: 11.98 kB / 4.882 GB, free: 95.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006799/13.18, allocations: 0.9772 MB / 4.882 GB, free: 94.93 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/13.18, allocations: 3.938 kB / 4.882 GB, free: 94.93 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009951/13.18, allocations: 0.9214 MB / 4.883 GB, free: 93.93 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003567/13.18, allocations: 215.8 kB / 4.884 GB, free: 93.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.424e-05/13.18, allocations: 8 kB / 4.884 GB, free: 93.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004952/13.19, allocations: 63.78 kB / 4.884 GB, free: 93.63 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/13.19, allocations: 31.86 kB / 4.884 GB, free: 93.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/13.19, allocations: 15.98 kB / 4.884 GB, free: 93.59 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008079/13.19, allocations: 0.7799 MB / 4.884 GB, free: 92.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.61e-07/13.19, allocations: 0 / 4.884 GB, free: 92.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001582/13.19, allocations: 0.5036 MB / 4.885 GB, free: 92.29 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.0024/13.19, allocations: 2.732 MB / 4.888 GB, free: 89.49 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001728/13.19, allocations: 1.053 MB / 4.889 GB, free: 88.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/13.19, allocations: 0 / 4.889 GB, free: 88.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004242/13.19, allocations: 240.8 kB / 4.889 GB, free: 88.17 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/13.19, allocations: 458 kB / 4.889 GB, free: 87.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/13.2, allocations: 9.806 MB / 4.899 GB, free: 77.59 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/13.21, allocations: 1.208 MB / 4.9 GB, free: 76.35 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001133/13.21, allocations: 319.8 kB / 4.9 GB, free: 76.03 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/13.21, allocations: 311.3 kB / 4.901 GB, free: 75.73 MB / 0.948 GB Notification: Performance of SimCode: time 1.291e-05/13.21, allocations: 0 / 4.901 GB, free: 75.73 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06237/13.27, allocations: 42.49 MB / 4.942 GB, free: 33.49 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/13.27, allocations: 263.4 kB / 4.942 GB, free: 33.14 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.54/16.81, allocations: 4.062 kB / 4.942 GB, free: 33.13 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)