Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.714/1.714, allocations: 289.7 MB / 302.2 MB, free: 2.223 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.001156/0.001156, allocations: 182.2 kB / 371.6 MB, free: 3.406 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.828/1.828, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001282/0.001282, allocations: 89.34 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.022e-05/5.037e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2951, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.219/6.514, allocations: 2.067 GB / 3.047 GB, free: 175.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/6.515, allocations: 89.25 kB / 3.047 GB, free: 175.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.2/10.71, allocations: 1.08 GB / 4.128 GB, free: 174.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.894e-06/10.71, allocations: 3.938 kB / 4.128 GB, free: 174.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001234/10.71, allocations: 33.3 kB / 4.128 GB, free: 174.3 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004298/10.72, allocations: 1.263 MB / 4.129 GB, free: 173.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/10.72, allocations: 11.78 kB / 4.129 GB, free: 173.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002745/10.72, allocations: 97.95 kB / 4.129 GB, free: 173.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/10.72, allocations: 197.6 kB / 4.129 GB, free: 173.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003738/10.72, allocations: 1.457 MB / 4.131 GB, free: 172.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.351e-05/10.72, allocations: 54.75 kB / 4.131 GB, free: 172.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/10.72, allocations: 65 kB / 4.131 GB, free: 172.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/10.73, allocations: 0.9242 MB / 4.132 GB, free: 171.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/10.73, allocations: 0 / 4.132 GB, free: 171.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.988e-05/10.73, allocations: 27.69 kB / 4.132 GB, free: 171.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/10.73, allocations: 16.2 kB / 4.132 GB, free: 171.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/10.73, allocations: 0.7017 MB / 4.132 GB, free: 171.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.004827/10.73, allocations: 4.703 MB / 4.137 GB, free: 166.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/10.73, allocations: 3.969 MB / 4.141 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/10.73, allocations: 331.5 kB / 4.141 GB, free: 162.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003877/10.73, allocations: 195.4 kB / 4.141 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004985/10.74, allocations: 316.9 kB / 4.142 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007118/10.74, allocations: 29.56 kB / 4.142 GB, free: 161.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.376e-06/10.74, allocations: 0 / 4.142 GB, free: 161.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001565/10.74, allocations: 0.7635 MB / 4.142 GB, free: 161.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/10.74, allocations: 92.88 kB / 4.142 GB, free: 161.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/10.74, allocations: 1.033 MB / 4.143 GB, free: 160.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.311e-05/10.74, allocations: 37.64 kB / 4.143 GB, free: 160.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/10.74, allocations: 0.5143 MB / 4.144 GB, free: 160.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.806e-05/10.74, allocations: 122 kB / 4.144 GB, free: 160.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/10.74, allocations: 11.94 kB / 4.144 GB, free: 160.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.33e-05/10.74, allocations: 325.9 kB / 4.144 GB, free: 159.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/10.74, allocations: 190.6 kB / 4.145 GB, free: 159.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/10.74, allocations: 0.5276 MB / 4.145 GB, free: 159.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/10.74, allocations: 304.9 kB / 4.145 GB, free: 159.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/10.74, allocations: 3.969 kB / 4.145 GB, free: 159.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001473/10.74, allocations: 0.9689 MB / 4.146 GB, free: 158.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004795/10.74, allocations: 2.232 MB / 4.149 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/10.74, allocations: 3.906 kB / 4.149 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006578/10.74, allocations: 326.3 kB / 4.149 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/10.74, allocations: 79.94 kB / 4.149 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/10.75, allocations: 1.118 MB / 4.15 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/10.75, allocations: 97.92 kB / 4.15 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-05/10.75, allocations: 29.61 kB / 4.15 GB, free: 155.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/10.75, allocations: 5.625 kB / 4.15 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001229/10.75, allocations: 0.7801 MB / 4.151 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/10.75, allocations: 8 kB / 4.151 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005226/10.75, allocations: 246.6 kB / 4.151 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/10.75, allocations: 83.83 kB / 4.151 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003479/10.75, allocations: 3.087 MB / 4.154 GB, free: 150.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/10.75, allocations: 107.8 kB / 4.154 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.963e-05/10.75, allocations: 24 kB / 4.154 GB, free: 150.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002298/10.75, allocations: 154.9 kB / 4.154 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/10.75, allocations: 110.6 kB / 4.155 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/10.76, allocations: 0.7852 MB / 4.155 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/10.76, allocations: 4 kB / 4.155 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/10.76, allocations: 0 / 4.155 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/10.76, allocations: 3.984 kB / 4.155 GB, free: 149.7 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 postOpt removeSimpleEquations (simulation): time 0.002672/10.76, allocations: 2.152 MB / 4.157 GB, free: 147.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/10.76, allocations: 4.25 kB / 4.157 GB, free: 147.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/10.76, allocations: 55.89 kB / 4.158 GB, free: 147.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004645/10.76, allocations: 239 kB / 4.158 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/10.76, allocations: 11.98 kB / 4.158 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007764/10.76, allocations: 0.9312 MB / 4.159 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/10.76, allocations: 0 / 4.159 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/10.76, allocations: 0.9489 MB / 4.16 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/10.76, allocations: 235.7 kB / 4.16 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/10.76, allocations: 8 kB / 4.16 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000716/10.76, allocations: 87.69 kB / 4.16 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/10.76, allocations: 35.89 kB / 4.16 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/10.76, allocations: 19.98 kB / 4.16 GB, free: 144.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001008/10.76, allocations: 0.8145 MB / 4.161 GB, free: 143.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.91e-07/10.76, allocations: 0 / 4.161 GB, free: 143.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002022/10.77, allocations: 0.605 MB / 4.161 GB, free: 143.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003018/10.77, allocations: 2.985 MB / 4.164 GB, free: 140.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002511/10.77, allocations: 1.251 MB / 4.165 GB, free: 138.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/10.77, allocations: 0 / 4.165 GB, free: 138.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005383/10.77, allocations: 300 kB / 4.166 GB, free: 138.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/10.78, allocations: 0.6501 MB / 4.166 GB, free: 137.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/10.78, allocations: 1.771 MB / 4.168 GB, free: 136.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/10.78, allocations: 1.238 MB / 4.169 GB, free: 134.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001917/10.78, allocations: 0.7967 MB / 4.17 GB, free: 134 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/10.78, allocations: 343.3 kB / 4.17 GB, free: 133.7 MB / 0.948 GB Notification: Performance of SimCode: time 9.41e-07/10.78, allocations: 0 / 4.17 GB, free: 133.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08246/10.86, allocations: 52.5 MB / 4.222 GB, free: 81.43 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/10.86, allocations: 228.6 kB / 4.222 GB, free: 81.13 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.72/14.58, allocations: 3.938 kB / 4.222 GB, free: 81.12 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)