Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.484/2.484, allocations: 284.9 MB / 292.4 MB, free: 10.5 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.001554/0.001553, allocations: 180.8 kB / 360.6 MB, free: 7.27 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.069/2.069, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001106/0.001106, allocations: 98.28 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.635e-05, allocations: 4 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8108/0.8108, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.898/6.708, allocations: 2.063 GB / 3.026 GB, free: 55.69 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/6.709, allocations: 90.12 kB / 3.026 GB, free: 55.64 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.11/11.82, allocations: 0.9508 GB / 3.977 GB, free: 230.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.635e-06/11.82, allocations: 3.938 kB / 3.977 GB, free: 230.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001815/11.82, allocations: 31.98 kB / 3.977 GB, free: 230.4 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.003261/11.82, allocations: 1.143 MB / 3.978 GB, free: 229.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/11.82, allocations: 8.031 kB / 3.978 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/11.82, allocations: 184.4 kB / 3.978 GB, free: 229 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003994/11.83, allocations: 1.085 MB / 3.979 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/11.83, allocations: 19.94 kB / 3.979 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/11.83, allocations: 36 kB / 3.979 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001168/11.83, allocations: 470.3 kB / 3.98 GB, free: 227.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/11.83, allocations: 0.6696 MB / 3.98 GB, free: 226.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/11.83, allocations: 3.938 kB / 3.98 GB, free: 226.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.439e-05/11.83, allocations: 4 kB / 3.98 GB, free: 226.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/11.83, allocations: 12 kB / 3.98 GB, free: 226.6 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.00572/11.84, allocations: 4.476 MB / 3.985 GB, free: 221.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008625/11.84, allocations: 441.2 kB / 3.985 GB, free: 221.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004327/11.84, allocations: 239.5 kB / 3.985 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004364/11.84, allocations: 202.1 kB / 3.986 GB, free: 220.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005043/11.84, allocations: 255.5 kB / 3.986 GB, free: 220.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.306e-06/11.84, allocations: 0 / 3.986 GB, free: 220.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001585/11.84, allocations: 498 kB / 3.986 GB, free: 220 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/11.84, allocations: 85.05 kB / 3.986 GB, free: 219.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/11.84, allocations: 0.8441 MB / 3.987 GB, free: 219.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/11.84, allocations: 29.7 kB / 3.987 GB, free: 219 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004923/11.84, allocations: 496.7 kB / 3.988 GB, free: 218.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/11.84, allocations: 102.5 kB / 3.988 GB, free: 218.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/11.84, allocations: 4 kB / 3.988 GB, free: 218.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.419e-05/11.84, allocations: 325.9 kB / 3.988 GB, free: 218.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/11.84, allocations: 184.8 kB / 3.988 GB, free: 217.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005793/11.84, allocations: 0.4885 MB / 3.989 GB, free: 217.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005088/11.85, allocations: 257.5 kB / 3.989 GB, free: 217.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/11.85, allocations: 0 / 3.989 GB, free: 217.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001533/11.85, allocations: 0.6133 MB / 3.99 GB, free: 216.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004371/11.85, allocations: 2.127 MB / 3.992 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/11.85, allocations: 4 kB / 3.992 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.222e-05/11.85, allocations: 8.141 kB / 3.992 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003331/11.85, allocations: 303.5 kB / 3.992 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003516/11.85, allocations: 6.192 MB / 3.998 GB, free: 207.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/11.86, allocations: 91.56 kB / 3.998 GB, free: 207.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/11.86, allocations: 24.22 kB / 3.998 GB, free: 207.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/11.86, allocations: 4 kB / 3.998 GB, free: 207.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009404/11.86, allocations: 428.5 kB / 3.999 GB, free: 206.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/11.86, allocations: 4 kB / 3.999 GB, free: 206.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/11.86, allocations: 8 kB / 3.999 GB, free: 206.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009568/11.86, allocations: 147.8 kB / 3.999 GB, free: 206.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/11.86, allocations: 8.188 kB / 3.999 GB, free: 206.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/11.86, allocations: 83.58 kB / 3.999 GB, free: 206.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.927e-05/11.86, allocations: 24 kB / 3.999 GB, free: 206.6 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.0002248/11.86, allocations: 128.6 kB / 3.999 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009181/11.86, allocations: 412.2 kB / 3.999 GB, free: 206.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/11.86, allocations: 90.88 kB / 3.999 GB, free: 206 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/11.86, allocations: 446.8 kB / 4 GB, free: 205.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/11.86, allocations: 11.95 kB / 4 GB, free: 205.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/11.86, allocations: 3.938 kB / 4 GB, free: 205.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/11.86, allocations: 4 kB / 4 GB, free: 205.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/11.86, allocations: 1.257 MB / 4.001 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/11.87, allocations: 0 / 4.001 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/11.87, allocations: 159.7 kB / 4.001 GB, free: 204 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/11.87, allocations: 4 kB / 4.001 GB, free: 204 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/11.87, allocations: 7.984 kB / 4.001 GB, free: 204 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002564/11.87, allocations: 6.029 MB / 4.007 GB, free: 197.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/11.87, allocations: 4.031 kB / 4.007 GB, free: 197.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/11.87, allocations: 0.6424 MB / 4.008 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006123/11.87, allocations: 207.9 kB / 4.008 GB, free: 196.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/11.87, allocations: 4 kB / 4.008 GB, free: 196.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/11.87, allocations: 59.75 kB / 4.008 GB, free: 196.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/11.87, allocations: 31.95 kB / 4.008 GB, free: 196.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/11.87, allocations: 12 kB / 4.008 GB, free: 196.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001225/11.87, allocations: 0.665 MB / 4.009 GB, free: 196 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.82e-07/11.87, allocations: 0 / 4.009 GB, free: 196 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002202/11.88, allocations: 451.3 kB / 4.009 GB, free: 195.6 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.003137/11.88, allocations: 2.583 MB / 4.012 GB, free: 192.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004255/11.88, allocations: 0.9342 MB / 4.013 GB, free: 192 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/11.88, allocations: 0 / 4.013 GB, free: 192 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/11.88, allocations: 253.5 kB / 4.013 GB, free: 191.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00324/11.89, allocations: 388.8 kB / 4.013 GB, free: 191.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/11.89, allocations: 1.622 MB / 4.015 GB, free: 189.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007695/11.89, allocations: 1.19 MB / 4.016 GB, free: 188.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003339/11.9, allocations: 0.7485 MB / 4.017 GB, free: 187.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005208/11.9, allocations: 295.3 kB / 4.017 GB, free: 187.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.262e-06/11.9, allocations: 0 / 4.017 GB, free: 187.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/12.01, allocations: 30.67 MB / 4.047 GB, free: 156.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/12.01, allocations: 187.7 kB / 4.047 GB, free: 156.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.077/16.08, allocations: 0 / 4.047 GB, free: 156.7 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)