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.732/1.732, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001876/0.001875, allocations: 177.5 kB / 371.6 MB, free: 3.434 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.749/1.749, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001004/0.001003, allocations: 88.42 kB / 0.745 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.735e-05/4.745e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2768, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.627/5.904, allocations: 2.064 GB / 3.044 GB, free: 132.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/5.905, allocations: 92.88 kB / 3.044 GB, free: 132.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.645/9.55, allocations: 0.9609 GB / 4.005 GB, free: 211.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.523e-06/9.55, allocations: 1.375 kB / 4.005 GB, free: 211.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001935/9.55, allocations: 26.84 kB / 4.005 GB, free: 211.5 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.003065/9.553, allocations: 1.149 MB / 4.006 GB, free: 210.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/9.554, allocations: 8.969 kB / 4.006 GB, free: 210.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002504/9.554, allocations: 94.77 kB / 4.006 GB, free: 210.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/9.555, allocations: 186.8 kB / 4.007 GB, free: 210.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003008/9.558, allocations: 1.074 MB / 4.008 GB, free: 210.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.591e-05/9.558, allocations: 50.05 kB / 4.008 GB, free: 210.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/9.558, allocations: 58.62 kB / 4.008 GB, free: 210.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/9.559, allocations: 0.7397 MB / 4.009 GB, free: 209.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/9.56, allocations: 10.12 kB / 4.009 GB, free: 209.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/9.56, allocations: 22.53 kB / 4.009 GB, free: 209.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/9.56, allocations: 17.41 kB / 4.009 GB, free: 209.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008738/9.561, allocations: 475.1 kB / 4.009 GB, free: 209.5 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.004425/9.565, allocations: 4.595 MB / 4.014 GB, free: 205.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/9.566, allocations: 383.4 kB / 4.014 GB, free: 205.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/9.566, allocations: 223.8 kB / 4.014 GB, free: 205.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/9.566, allocations: 194 kB / 4.014 GB, free: 205.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003989/9.567, allocations: 285.5 kB / 4.015 GB, free: 205.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.314e-06/9.567, allocations: 0 / 4.015 GB, free: 205.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001096/9.568, allocations: 451.1 kB / 4.015 GB, free: 205 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/9.568, allocations: 85.55 kB / 4.015 GB, free: 204.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/9.569, allocations: 0.9688 MB / 4.016 GB, free: 204.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.15e-05/9.569, allocations: 38.89 kB / 4.016 GB, free: 204.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/9.57, allocations: 498.2 kB / 4.017 GB, free: 204.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.629e-05/9.57, allocations: 113.3 kB / 4.017 GB, free: 204 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/9.57, allocations: 10.94 kB / 4.017 GB, free: 204 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.472e-05/9.57, allocations: 327 kB / 4.017 GB, free: 203.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/9.57, allocations: 159.3 kB / 4.017 GB, free: 203.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/9.571, allocations: 497.1 kB / 4.018 GB, free: 203.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/9.571, allocations: 283.4 kB / 4.018 GB, free: 203.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/9.571, allocations: 2.062 kB / 4.018 GB, free: 203.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001084/9.572, allocations: 0.64 MB / 4.018 GB, free: 202.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000522/9.573, allocations: 2.129 MB / 4.021 GB, free: 200.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/9.573, allocations: 4.938 kB / 4.021 GB, free: 200.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.801e-05/9.573, allocations: 8.156 kB / 4.021 GB, free: 200.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/9.574, allocations: 303.3 kB / 4.021 GB, free: 200.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/9.577, allocations: 6.079 MB / 4.027 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/9.578, allocations: 102.6 kB / 4.027 GB, free: 194.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.116e-05/9.578, allocations: 27.55 kB / 4.027 GB, free: 194.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/9.578, allocations: 5.625 kB / 4.027 GB, free: 194.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008546/9.579, allocations: 0.4933 MB / 4.027 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/9.579, allocations: 4.938 kB / 4.027 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/9.579, allocations: 8.906 kB / 4.027 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00052/9.58, allocations: 152.7 kB / 4.028 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/9.58, allocations: 6.812 kB / 4.028 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009722/9.581, allocations: 94.58 kB / 4.028 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/9.581, allocations: 27.48 kB / 4.028 GB, free: 194.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 () * 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.0001738/9.581, allocations: 145 kB / 4.028 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/9.581, allocations: 103 kB / 4.028 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009043/9.582, allocations: 464.5 kB / 4.028 GB, free: 193.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/9.582, allocations: 3.188 kB / 4.028 GB, free: 193.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/9.582, allocations: 1.156 kB / 4.028 GB, free: 193.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/9.582, allocations: 3.094 kB / 4.028 GB, free: 193.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/9.585, allocations: 1.352 MB / 4.03 GB, free: 193.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/9.585, allocations: 2.031 kB / 4.03 GB, free: 193.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006724/9.585, allocations: 160.6 kB / 4.03 GB, free: 193.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/9.585, allocations: 4.125 kB / 4.03 GB, free: 193.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/9.585, allocations: 13.09 kB / 4.03 GB, free: 193.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/9.587, allocations: 6.021 MB / 4.036 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/9.587, allocations: 5.156 kB / 4.036 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007952/9.588, allocations: 0.6559 MB / 4.036 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005317/9.589, allocations: 214.6 kB / 4.037 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/9.589, allocations: 15.78 kB / 4.037 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006814/9.59, allocations: 54.16 kB / 4.037 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.764e-05/9.59, allocations: 32.59 kB / 4.037 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/9.59, allocations: 12 kB / 4.037 GB, free: 186.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001236/9.591, allocations: 0.7714 MB / 4.037 GB, free: 186.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.71e-07/9.591, allocations: 1 kB / 4.037 GB, free: 186.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002097/9.593, allocations: 486 kB / 4.038 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.002596/9.596, allocations: 2.486 MB / 4.04 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002732/9.598, allocations: 0.9449 MB / 4.041 GB, free: 184.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/9.598, allocations: 1.375 kB / 4.041 GB, free: 184.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007051/9.599, allocations: 259.8 kB / 4.042 GB, free: 184.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/9.602, allocations: 453.6 kB / 4.042 GB, free: 184 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/9.606, allocations: 1.677 MB / 4.044 GB, free: 183.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000859/9.607, allocations: 1.2 MB / 4.045 GB, free: 182.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002331/9.609, allocations: 0.7812 MB / 4.046 GB, free: 182.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003144/9.609, allocations: 292.7 kB / 4.046 GB, free: 182.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.675e-06/9.609, allocations: 0 / 4.046 GB, free: 182.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06904/9.679, allocations: 43.82 MB / 4.089 GB, free: 173.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/9.679, allocations: 226.8 kB / 4.089 GB, free: 173.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.445/13.12, allocations: 3.406 kB / 4.089 GB, free: 173.2 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)