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.301/2.301, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001166/0.001167, allocations: 194.9 kB / 0.4902 GB, free: 2.289 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.83/1.83, allocations: 223.2 MB / 0.7992 GB, free: 14.73 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.0008943/0.0008941, allocations: 100.3 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005511/0.0005511, allocations: 11.12 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3976, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.986/5.384, allocations: 1.873 GB / 3.102 GB, free: 110.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/5.384, allocations: 95.89 kB / 3.102 GB, free: 110.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.426/9.81, allocations: 1.09 GB / 4.192 GB, free: 361.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.184e-06/9.81, allocations: 0 / 4.192 GB, free: 361.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002004/9.81, allocations: 33.36 kB / 4.192 GB, free: 361.9 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.005771/9.816, allocations: 1.568 MB / 4.193 GB, free: 361.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/9.816, allocations: 14.33 kB / 4.193 GB, free: 361.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/9.817, allocations: 195.7 kB / 4.194 GB, free: 361.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004585/9.822, allocations: 1.47 MB / 4.195 GB, free: 360.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.88e-05/9.822, allocations: 50.47 kB / 4.195 GB, free: 360.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/9.822, allocations: 60.28 kB / 4.195 GB, free: 360.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/9.824, allocations: 0.9533 MB / 4.196 GB, free: 360.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/9.824, allocations: 7.562 kB / 4.196 GB, free: 360.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-05/9.824, allocations: 24.72 kB / 4.196 GB, free: 360.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/9.824, allocations: 17.59 kB / 4.196 GB, free: 360.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/9.825, allocations: 0.753 MB / 4.197 GB, free: 360.2 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004537/9.83, allocations: 4.699 MB / 4.201 GB, free: 356.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/9.831, allocations: 4.017 MB / 4.205 GB, free: 352.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/9.832, allocations: 191.2 kB / 4.205 GB, free: 352 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004459/9.832, allocations: 329.3 kB / 4.206 GB, free: 351.8 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004439/9.833, allocations: 33.59 kB / 4.206 GB, free: 351.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 2.695e-06/9.833, allocations: 0 / 4.206 GB, free: 351.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.003424/9.836, allocations: 1.441 MB / 4.207 GB, free: 351.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/9.836, allocations: 87.8 kB / 4.207 GB, free: 351 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/9.837, allocations: 1.045 MB / 4.208 GB, free: 350.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.289e-05/9.837, allocations: 40.92 kB / 4.208 GB, free: 350.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/9.838, allocations: 0.517 MB / 4.209 GB, free: 350 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.348e-05/9.838, allocations: 122.5 kB / 4.209 GB, free: 349.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/9.838, allocations: 11.28 kB / 4.209 GB, free: 349.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.463e-05/9.838, allocations: 329.8 kB / 4.209 GB, free: 349.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/9.838, allocations: 213.1 kB / 4.209 GB, free: 349.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004828/9.839, allocations: 0.5572 MB / 4.21 GB, free: 349 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/9.839, allocations: 327.7 kB / 4.21 GB, free: 348.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/9.839, allocations: 3.656 kB / 4.21 GB, free: 348.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001474/9.841, allocations: 1.007 MB / 4.211 GB, free: 348.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004068/9.841, allocations: 2.237 MB / 4.214 GB, free: 345.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/9.841, allocations: 3.062 kB / 4.214 GB, free: 345.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006003/9.842, allocations: 337.8 kB / 4.214 GB, free: 345.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/9.842, allocations: 67.17 kB / 4.214 GB, free: 345.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/9.843, allocations: 1.117 MB / 4.215 GB, free: 344.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/9.844, allocations: 105.7 kB / 4.215 GB, free: 344.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.629e-05/9.844, allocations: 28.64 kB / 4.215 GB, free: 344.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/9.844, allocations: 3.469 kB / 4.215 GB, free: 344.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001364/9.846, allocations: 0.8259 MB / 4.216 GB, free: 344.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/9.846, allocations: 3.906 kB / 4.216 GB, free: 344.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005707/9.846, allocations: 249.2 kB / 4.216 GB, free: 344.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/9.847, allocations: 79.3 kB / 4.216 GB, free: 344.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003442/9.85, allocations: 3.175 MB / 4.219 GB, free: 341.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/9.851, allocations: 103.8 kB / 4.219 GB, free: 341.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/9.851, allocations: 30.3 kB / 4.219 GB, free: 341.8 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 () * Number of clocked 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.000588/9.852, allocations: 473.9 kB / 4.22 GB, free: 341.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/9.852, allocations: 108.3 kB / 4.22 GB, free: 341.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/9.853, allocations: 0.8296 MB / 4.221 GB, free: 341 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/9.853, allocations: 3.719 kB / 4.221 GB, free: 341 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/9.853, allocations: 3.953 kB / 4.221 GB, free: 341 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/9.853, allocations: 3.875 kB / 4.221 GB, free: 341 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002947/9.856, allocations: 2.188 MB / 4.223 GB, free: 339 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/9.856, allocations: 11.81 kB / 4.223 GB, free: 339 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/9.857, allocations: 51.89 kB / 4.223 GB, free: 339 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004251/9.857, allocations: 235.6 kB / 4.223 GB, free: 338.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/9.857, allocations: 8 kB / 4.223 GB, free: 338.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000699/9.858, allocations: 0.9324 MB / 4.224 GB, free: 337.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/9.858, allocations: 3.031 kB / 4.224 GB, free: 337.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/9.859, allocations: 1.01 MB / 4.225 GB, free: 336.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004926/9.86, allocations: 231.7 kB / 4.225 GB, free: 336.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/9.86, allocations: 11.98 kB / 4.225 GB, free: 336.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006783/9.86, allocations: 82.56 kB / 4.226 GB, free: 336.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.641e-05/9.86, allocations: 31.95 kB / 4.226 GB, free: 336.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/9.86, allocations: 19.98 kB / 4.226 GB, free: 336.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008762/9.861, allocations: 0.8247 MB / 4.226 GB, free: 335.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/9.861, allocations: 0 / 4.226 GB, free: 335.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001961/9.863, allocations: 0.605 MB / 4.227 GB, free: 334.9 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) * Number of clocked states: 0 () * 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.001426/9.865, allocations: 1.127 MB / 4.228 GB, free: 334 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002449/9.867, allocations: 1.3 MB / 4.229 GB, free: 332.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/9.867, allocations: 0 / 4.229 GB, free: 332.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005451/9.868, allocations: 323.4 kB / 4.23 GB, free: 332.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002809/9.871, allocations: 0.6535 MB / 4.23 GB, free: 331.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/9.873, allocations: 2.238 MB / 4.232 GB, free: 329.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/9.874, allocations: 1.24 MB / 4.234 GB, free: 328.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001025/9.875, allocations: 376.2 kB / 4.234 GB, free: 327.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/9.875, allocations: 75.42 kB / 4.234 GB, free: 327.7 MB / 1.167 GB Notification: Performance of SimCode: time 6.32e-07/9.875, allocations: 0 / 4.234 GB, free: 327.7 MB / 1.167 GB Notification: Performance of Templates: time 0.04677/9.922, allocations: 34 MB / 4.267 GB, free: 294.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