Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.42/2.42, allocations: 390.3 MB / 402.8 MB, free: 6.664 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 184.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.668/1.668, allocations: 221.3 MB / 0.7915 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009302/0.0009304, allocations: 91.95 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.616e-05/4.618e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3631, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.42/6.783, allocations: 1.873 GB / 3.091 GB, free: 435.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/6.783, allocations: 90.67 kB / 3.091 GB, free: 435.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.151/10.93, allocations: 1.089 GB / 4.18 GB, free: 246.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.683e-06/10.93, allocations: 0 / 4.18 GB, free: 246.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002108/10.93, allocations: 31.98 kB / 4.18 GB, free: 246.8 MB / 1.167 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.004942/10.94, allocations: 1.265 MB / 4.182 GB, free: 245.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/10.94, allocations: 19.95 kB / 4.182 GB, free: 245.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/10.94, allocations: 194.4 kB / 4.182 GB, free: 245.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004349/10.95, allocations: 1.453 MB / 4.183 GB, free: 243.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.303e-05/10.95, allocations: 49.31 kB / 4.183 GB, free: 243.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/10.95, allocations: 64 kB / 4.183 GB, free: 243.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/10.95, allocations: 0.9215 MB / 4.184 GB, free: 242.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/10.95, allocations: 3.938 kB / 4.184 GB, free: 242.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.49e-05/10.95, allocations: 24 kB / 4.184 GB, free: 242.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/10.95, allocations: 16 kB / 4.184 GB, free: 242.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/10.95, allocations: 0.6986 MB / 4.185 GB, free: 242 MB / 1.167 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.004851/10.95, allocations: 4.718 MB / 4.19 GB, free: 236.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/10.95, allocations: 3.961 MB / 4.194 GB, free: 232.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/10.96, allocations: 328.7 kB / 4.194 GB, free: 231.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002739/10.96, allocations: 202.2 kB / 4.194 GB, free: 231.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003718/10.96, allocations: 313.1 kB / 4.194 GB, free: 231.2 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005635/10.96, allocations: 31.75 kB / 4.194 GB, free: 231.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 2.995e-06/10.96, allocations: 4 kB / 4.194 GB, free: 231.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.001522/10.96, allocations: 0.7662 MB / 4.195 GB, free: 230.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/10.96, allocations: 81.11 kB / 4.195 GB, free: 230.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/10.96, allocations: 1.039 MB / 4.196 GB, free: 229.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.915e-05/10.96, allocations: 37.7 kB / 4.196 GB, free: 229.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/10.96, allocations: 0.5088 MB / 4.197 GB, free: 228.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/10.96, allocations: 134.2 kB / 4.197 GB, free: 228.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/10.96, allocations: 8 kB / 4.197 GB, free: 228.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.481e-05/10.96, allocations: 326 kB / 4.197 GB, free: 228.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/10.96, allocations: 185 kB / 4.197 GB, free: 228.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004803/10.96, allocations: 0.5288 MB / 4.198 GB, free: 227.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/10.96, allocations: 307 kB / 4.198 GB, free: 227.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/10.96, allocations: 4 kB / 4.198 GB, free: 227.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001541/10.96, allocations: 0.9668 MB / 4.199 GB, free: 226.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007188/10.96, allocations: 2.229 MB / 4.201 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/10.96, allocations: 4 kB / 4.201 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007094/10.96, allocations: 326.8 kB / 4.202 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/10.96, allocations: 79.83 kB / 4.202 GB, free: 223.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/10.97, allocations: 1.124 MB / 4.203 GB, free: 222.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/10.97, allocations: 103.7 kB / 4.203 GB, free: 222 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.401e-05/10.97, allocations: 24 kB / 4.203 GB, free: 222 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/10.97, allocations: 4 kB / 4.203 GB, free: 222 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001242/10.97, allocations: 0.7868 MB / 4.204 GB, free: 221.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/10.97, allocations: 4 kB / 4.204 GB, free: 221.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005114/10.97, allocations: 243 kB / 4.204 GB, free: 221 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/10.97, allocations: 75.83 kB / 4.204 GB, free: 220.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/10.97, allocations: 3.11 MB / 4.207 GB, free: 217.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/10.97, allocations: 99.8 kB / 4.207 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.146e-05/10.97, allocations: 24 kB / 4.207 GB, free: 217.5 MB / 1.167 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.0002079/10.97, allocations: 141.1 kB / 4.207 GB, free: 217.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/10.98, allocations: 106.7 kB / 4.207 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/10.98, allocations: 0.789 MB / 4.208 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/10.98, allocations: 4 kB / 4.208 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/10.98, allocations: 4 kB / 4.208 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/10.98, allocations: 4 kB / 4.208 GB, free: 216.5 MB / 1.167 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.002903/10.98, allocations: 2.136 MB / 4.21 GB, free: 214.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/10.98, allocations: 7.891 kB / 4.21 GB, free: 214.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/10.98, allocations: 56.14 kB / 4.21 GB, free: 214.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004446/10.98, allocations: 243.4 kB / 4.211 GB, free: 213.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/10.98, allocations: 8 kB / 4.211 GB, free: 213.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000738/10.98, allocations: 0.9371 MB / 4.211 GB, free: 212.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/10.98, allocations: 4 kB / 4.211 GB, free: 212.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009973/10.98, allocations: 0.9588 MB / 4.212 GB, free: 211.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004898/10.98, allocations: 235.7 kB / 4.213 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/10.98, allocations: 8 kB / 4.213 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008102/10.98, allocations: 83.75 kB / 4.213 GB, free: 211.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/10.98, allocations: 43.84 kB / 4.213 GB, free: 211.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/10.98, allocations: 8 kB / 4.213 GB, free: 211.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001037/10.98, allocations: 0.8145 MB / 4.214 GB, free: 210.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/10.98, allocations: 0 / 4.214 GB, free: 210.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002194/10.99, allocations: 0.6089 MB / 4.214 GB, free: 210.1 MB / 1.167 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.00177/10.99, allocations: 1.13 MB / 4.215 GB, free: 208.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002465/10.99, allocations: 1.259 MB / 4.216 GB, free: 207.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/10.99, allocations: 0 / 4.216 GB, free: 207.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005231/10.99, allocations: 304.6 kB / 4.217 GB, free: 207.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003372/11, allocations: 0.6499 MB / 4.217 GB, free: 206.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/11, allocations: 1.465 MB / 4.219 GB, free: 205.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006888/11, allocations: 1.238 MB / 4.22 GB, free: 203.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002161/11, allocations: 0.7967 MB / 4.221 GB, free: 203.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/11, allocations: 47.44 kB / 4.221 GB, free: 203 MB / 1.167 GB Notification: Performance of SimCode: time 1.012e-06/11, allocations: 4 kB / 4.221 GB, free: 203 MB / 1.167 GB Notification: Performance of Templates: time 0.0533/11.05, allocations: 39.05 MB / 4.259 GB, free: 164.1 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches