Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.604/2.604, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001586/0.001585, allocations: 173.1 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001137/0.001137, allocations: 94.12 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006434/0.0006437, allocations: 11.34 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2133, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.71/6.924, allocations: 2.066 GB / 3.044 GB, free: 208.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003532/6.924, allocations: 102.4 kB / 3.044 GB, free: 208.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.228/12.15, allocations: 0.9738 GB / 4.018 GB, free: 275 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.885e-06/12.15, allocations: 0 / 4.018 GB, free: 275 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001424/12.15, allocations: 33.73 kB / 4.018 GB, free: 275 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.004664/12.16, allocations: 1.446 MB / 4.02 GB, free: 274.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/12.16, allocations: 9.656 kB / 4.02 GB, free: 274.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002177/12.16, allocations: 93.69 kB / 4.02 GB, free: 274.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/12.16, allocations: 182.3 kB / 4.02 GB, free: 274.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004256/12.16, allocations: 1.119 MB / 4.021 GB, free: 274.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.75e-05/12.16, allocations: 45 kB / 4.021 GB, free: 274.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/12.16, allocations: 60 kB / 4.021 GB, free: 274.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/12.17, allocations: 0.7628 MB / 4.022 GB, free: 273.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/12.17, allocations: 4.25 kB / 4.022 GB, free: 273.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.889e-05/12.17, allocations: 22.03 kB / 4.022 GB, free: 273.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/12.17, allocations: 16.22 kB / 4.022 GB, free: 273.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/12.17, allocations: 0.515 MB / 4.022 GB, free: 273.8 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.006377/12.17, allocations: 4.591 MB / 4.027 GB, free: 270.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/12.17, allocations: 426.1 kB / 4.027 GB, free: 270.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003906/12.17, allocations: 196.7 kB / 4.027 GB, free: 270.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008009/12.18, allocations: 291.5 kB / 4.028 GB, free: 270.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.206e-06/12.18, allocations: 0 / 4.028 GB, free: 270.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.006389/12.18, allocations: 1.305 MB / 4.029 GB, free: 270 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/12.18, allocations: 83.83 kB / 4.029 GB, free: 269.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/12.18, allocations: 0.9868 MB / 4.03 GB, free: 269.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/12.18, allocations: 38.39 kB / 4.03 GB, free: 269.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005213/12.19, allocations: 495.9 kB / 4.031 GB, free: 269.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/12.19, allocations: 104.3 kB / 4.031 GB, free: 269.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/12.19, allocations: 9.5 kB / 4.031 GB, free: 269.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.151e-05/12.19, allocations: 327 kB / 4.031 GB, free: 269.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006105/12.19, allocations: 190.7 kB / 4.031 GB, free: 269.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008562/12.19, allocations: 0.5074 MB / 4.032 GB, free: 268.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007522/12.19, allocations: 290.7 kB / 4.032 GB, free: 268.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/12.19, allocations: 2.094 kB / 4.032 GB, free: 268.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002681/12.19, allocations: 0.903 MB / 4.033 GB, free: 268.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004997/12.19, allocations: 2.127 MB / 4.035 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/12.19, allocations: 8.875 kB / 4.035 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/12.19, allocations: 258.2 kB / 4.035 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/12.19, allocations: 65.92 kB / 4.035 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/12.19, allocations: 1.088 MB / 4.036 GB, free: 265.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/12.2, allocations: 104.5 kB / 4.036 GB, free: 265.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.044e-05/12.2, allocations: 26.47 kB / 4.036 GB, free: 265.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/12.2, allocations: 3.625 kB / 4.036 GB, free: 265.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0021/12.2, allocations: 0.7191 MB / 4.037 GB, free: 265.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/12.2, allocations: 7.281 kB / 4.037 GB, free: 265.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009516/12.2, allocations: 212 kB / 4.037 GB, free: 265.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/12.2, allocations: 62.91 kB / 4.037 GB, free: 265.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005087/12.21, allocations: 3.06 MB / 4.04 GB, free: 264.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/12.21, allocations: 99.06 kB / 4.04 GB, free: 264.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.084e-05/12.21, allocations: 23.19 kB / 4.04 GB, free: 264.3 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0008874/12.21, allocations: 475.4 kB / 4.041 GB, free: 264.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/12.21, allocations: 98.41 kB / 4.041 GB, free: 264.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/12.21, allocations: 0.7149 MB / 4.042 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/12.21, allocations: 3.875 kB / 4.042 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/12.21, allocations: 0 / 4.042 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/12.21, allocations: 3.75 kB / 4.042 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003747/12.21, allocations: 1.598 MB / 4.043 GB, free: 263.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/12.21, allocations: 1.688 kB / 4.043 GB, free: 263.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/12.21, allocations: 32.62 kB / 4.043 GB, free: 263.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008255/12.21, allocations: 255.5 kB / 4.044 GB, free: 263.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/12.21, allocations: 5.469 kB / 4.044 GB, free: 263.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/12.22, allocations: 1.027 MB / 4.045 GB, free: 263 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/12.22, allocations: 7.406 kB / 4.045 GB, free: 263 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/12.22, allocations: 0.9187 MB / 4.045 GB, free: 262.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005887/12.22, allocations: 223.4 kB / 4.046 GB, free: 262.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/12.22, allocations: 7.344 kB / 4.046 GB, free: 262.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009303/12.22, allocations: 59.03 kB / 4.046 GB, free: 262.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/12.22, allocations: 30.88 kB / 4.046 GB, free: 262.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/12.22, allocations: 15.22 kB / 4.046 GB, free: 262.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001487/12.22, allocations: 0.7827 MB / 4.047 GB, free: 262.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/12.22, allocations: 0 / 4.047 GB, free: 262.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002225/12.22, allocations: 0.5154 MB / 4.047 GB, free: 262.3 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003634/12.23, allocations: 2.72 MB / 4.05 GB, free: 260.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004073/12.23, allocations: 1.178 MB / 4.051 GB, free: 260.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/12.23, allocations: 3.125 kB / 4.051 GB, free: 260.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/12.23, allocations: 282.7 kB / 4.051 GB, free: 260.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003887/12.24, allocations: 456.8 kB / 4.052 GB, free: 260.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/12.25, allocations: 9.834 MB / 4.061 GB, free: 255.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008005/12.26, allocations: 1.207 MB / 4.062 GB, free: 254.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001652/12.26, allocations: 316.2 kB / 4.063 GB, free: 254.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004913/12.26, allocations: 313.5 kB / 4.063 GB, free: 254.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.343e-06/12.26, allocations: 3.938 kB / 4.063 GB, free: 254.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1031/12.36, allocations: 42.11 MB / 4.104 GB, free: 246.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002845/12.36, allocations: 258.6 kB / 4.104 GB, free: 245.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.284/16.65, allocations: 0 / 4.104 GB, free: 245.8 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)