Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.782/1.782, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001533/0.001533, allocations: 176.9 kB / 366.7 MB, free: 1.66 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.886/1.886, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.0008404/0.0008403, allocations: 93.23 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.174e-05/2.176e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8039/0.8039, allocations: 116.3 MB / 0.9733 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.553/6.357, allocations: 2.064 GB / 3.037 GB, free: 66.02 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/6.357, allocations: 92.73 kB / 3.037 GB, free: 65.93 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.019/10.38, allocations: 0.9508 GB / 3.988 GB, free: 221 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.705e-06/10.38, allocations: 4 kB / 3.988 GB, free: 221 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.549e-05/10.38, allocations: 39.92 kB / 3.988 GB, free: 220.9 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001735/10.38, allocations: 1.14 MB / 3.989 GB, free: 219.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/10.38, allocations: 8.031 kB / 3.989 GB, free: 219.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000723/10.38, allocations: 186.5 kB / 3.989 GB, free: 219.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/10.38, allocations: 1.082 MB / 3.99 GB, free: 218.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/10.38, allocations: 16 kB / 3.99 GB, free: 218.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.019e-05/10.38, allocations: 39.95 kB / 3.99 GB, free: 218.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006702/10.38, allocations: 474.3 kB / 3.991 GB, free: 217.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007818/10.38, allocations: 0.6727 MB / 3.991 GB, free: 217.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/10.38, allocations: 3.938 kB / 3.991 GB, free: 217.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/10.38, allocations: 4 kB / 3.991 GB, free: 217.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/10.38, allocations: 15.98 kB / 3.991 GB, free: 217.1 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.003725/10.39, allocations: 4.465 MB / 3.996 GB, free: 212.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005296/10.39, allocations: 442.4 kB / 3.996 GB, free: 211.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/10.39, allocations: 239.5 kB / 3.996 GB, free: 211.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/10.39, allocations: 194.2 kB / 3.997 GB, free: 211.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002986/10.39, allocations: 254.5 kB / 3.997 GB, free: 211.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/10.39, allocations: 4 kB / 3.997 GB, free: 211.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.0008688/10.39, allocations: 497.5 kB / 3.997 GB, free: 210.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/10.39, allocations: 81.11 kB / 3.997 GB, free: 210.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007868/10.39, allocations: 0.8441 MB / 3.998 GB, free: 209.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/10.39, allocations: 29.7 kB / 3.998 GB, free: 209.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/10.39, allocations: 496.7 kB / 3.999 GB, free: 209.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.343e-05/10.39, allocations: 102.5 kB / 3.999 GB, free: 209 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/10.39, allocations: 11.94 kB / 3.999 GB, free: 209 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.076e-05/10.39, allocations: 325.9 kB / 3.999 GB, free: 208.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/10.39, allocations: 180.8 kB / 3.999 GB, free: 208.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/10.39, allocations: 0.4884 MB / 4 GB, free: 207.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/10.39, allocations: 269.7 kB / 4 GB, free: 207.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/10.39, allocations: 3.938 kB / 4 GB, free: 207.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006894/10.39, allocations: 0.6023 MB / 4.001 GB, free: 207 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000379/10.39, allocations: 2.13 MB / 4.003 GB, free: 204.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/10.39, allocations: 8 kB / 4.003 GB, free: 204.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/10.39, allocations: 8 kB / 4.003 GB, free: 204.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/10.39, allocations: 303.5 kB / 4.003 GB, free: 204.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/10.4, allocations: 6.196 MB / 4.009 GB, free: 198 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008363/10.4, allocations: 79.62 kB / 4.009 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/10.4, allocations: 27.98 kB / 4.009 GB, free: 197.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/10.4, allocations: 4 kB / 4.009 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004986/10.4, allocations: 419.3 kB / 4.01 GB, free: 197.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/10.4, allocations: 4 kB / 4.01 GB, free: 197.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/10.4, allocations: 8 kB / 4.01 GB, free: 197.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004528/10.4, allocations: 152.3 kB / 4.01 GB, free: 197.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/10.4, allocations: 11.94 kB / 4.01 GB, free: 197.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/10.4, allocations: 75.62 kB / 4.01 GB, free: 197.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/10.4, allocations: 27.98 kB / 4.01 GB, free: 197.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 () * 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.0001227/10.4, allocations: 130.7 kB / 4.01 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000429/10.4, allocations: 408.2 kB / 4.01 GB, free: 196.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-05/10.4, allocations: 98.88 kB / 4.011 GB, free: 196.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006037/10.4, allocations: 446.7 kB / 4.011 GB, free: 196.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/10.4, allocations: 4.281 kB / 4.011 GB, free: 196.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/10.4, allocations: 3.953 kB / 4.011 GB, free: 196.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/10.4, allocations: 11.97 kB / 4.011 GB, free: 196.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/10.4, allocations: 1.254 MB / 4.012 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/10.4, allocations: 0 / 4.012 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005507/10.4, allocations: 151.8 kB / 4.012 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/10.4, allocations: 4 kB / 4.012 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/10.4, allocations: 4.219 kB / 4.012 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/10.4, allocations: 6.032 MB / 4.018 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/10.4, allocations: 8.016 kB / 4.018 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004874/10.4, allocations: 0.6365 MB / 4.019 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/10.4, allocations: 211.9 kB / 4.019 GB, free: 187.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.927e-05/10.4, allocations: 4 kB / 4.019 GB, free: 187.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004579/10.4, allocations: 55.78 kB / 4.019 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/10.4, allocations: 35.86 kB / 4.019 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/10.4, allocations: 11.98 kB / 4.019 GB, free: 187.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006272/10.41, allocations: 0.6611 MB / 4.02 GB, free: 186.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/10.41, allocations: 0 / 4.02 GB, free: 186.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001261/10.41, allocations: 455.3 kB / 4.02 GB, free: 186.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) * 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.001881/10.41, allocations: 2.572 MB / 4.023 GB, free: 183.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002096/10.41, allocations: 0.9508 MB / 4.024 GB, free: 182.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/10.41, allocations: 1.375 kB / 4.024 GB, free: 182.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000541/10.41, allocations: 244.2 kB / 4.024 GB, free: 182.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/10.41, allocations: 390.5 kB / 4.024 GB, free: 182 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/10.41, allocations: 1.618 MB / 4.026 GB, free: 180.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/10.42, allocations: 1.202 MB / 4.027 GB, free: 179 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001642/10.42, allocations: 0.7407 MB / 4.028 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/10.42, allocations: 303.3 kB / 4.028 GB, free: 178 MB / 0.948 GB Notification: Performance of SimCode: time 3.7e-07/10.42, allocations: 0 / 4.028 GB, free: 178 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05187/10.47, allocations: 30.67 MB / 4.058 GB, free: 147.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/10.47, allocations: 187.4 kB / 4.058 GB, free: 147.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.403/13.87, allocations: 0 / 4.058 GB, free: 147.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)