Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001072/0.001072, allocations: 192.4 kB / 487.4 MB, free: 5.035 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.572/1.572, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009714/0.0009713, allocations: 93.41 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.299e-05/2.301e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3239, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.951/6.275, allocations: 1.871 GB / 3.077 GB, free: 362.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/6.276, allocations: 90.97 kB / 3.077 GB, free: 362.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.378/9.654, allocations: 0.9698 GB / 4.047 GB, free: 344.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.223e-06/9.654, allocations: 7.188 kB / 4.047 GB, free: 344.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001803/9.654, allocations: 25.78 kB / 4.047 GB, free: 344.7 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.004577/9.659, allocations: 1.245 MB / 4.048 GB, free: 343.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/9.659, allocations: 7.812 kB / 4.048 GB, free: 343.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/9.66, allocations: 186.3 kB / 4.048 GB, free: 343.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004084/9.665, allocations: 1.404 MB / 4.05 GB, free: 343 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/9.665, allocations: 14.38 kB / 4.05 GB, free: 343 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/9.665, allocations: 42.58 kB / 4.05 GB, free: 343 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008127/9.666, allocations: 490.5 kB / 4.05 GB, free: 342.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009211/9.667, allocations: 0.6955 MB / 4.051 GB, free: 341.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/9.667, allocations: 3.938 kB / 4.051 GB, free: 341.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-05/9.667, allocations: 6.922 kB / 4.051 GB, free: 341.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/9.667, allocations: 12 kB / 4.051 GB, free: 341.9 MB / 1.151 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.003804/9.67, allocations: 4.093 MB / 4.055 GB, free: 337.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004917/9.671, allocations: 435 kB / 4.055 GB, free: 337.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/9.671, allocations: 313.3 kB / 4.056 GB, free: 336.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/9.672, allocations: 194.1 kB / 4.056 GB, free: 336.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003681/9.672, allocations: 286 kB / 4.056 GB, free: 336.4 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004037/9.672, allocations: 15.67 kB / 4.056 GB, free: 336.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 3.326e-06/9.672, allocations: 3.938 kB / 4.056 GB, free: 336.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001049/9.673, allocations: 0.5054 MB / 4.057 GB, free: 335.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/9.673, allocations: 85.09 kB / 4.057 GB, free: 335.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/9.674, allocations: 0.8556 MB / 4.058 GB, free: 334.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/9.675, allocations: 29.7 kB / 4.058 GB, free: 334.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/9.675, allocations: 488.2 kB / 4.058 GB, free: 334.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.131e-05/9.675, allocations: 114.2 kB / 4.058 GB, free: 334.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/9.675, allocations: 0 / 4.058 GB, free: 334.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.482e-05/9.675, allocations: 330 kB / 4.058 GB, free: 333.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/9.675, allocations: 193 kB / 4.059 GB, free: 333.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/9.676, allocations: 0.5027 MB / 4.059 GB, free: 333.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/9.676, allocations: 275.6 kB / 4.059 GB, free: 332.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/9.676, allocations: 4 kB / 4.059 GB, free: 332.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008671/9.677, allocations: 0.6291 MB / 4.06 GB, free: 332.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000453/9.677, allocations: 2.13 MB / 4.062 GB, free: 329.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/9.677, allocations: 8 kB / 4.062 GB, free: 329.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/9.677, allocations: 11.95 kB / 4.062 GB, free: 329.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/9.679, allocations: 327.3 kB / 4.062 GB, free: 329.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/9.682, allocations: 6.184 MB / 4.068 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/9.683, allocations: 79.94 kB / 4.069 GB, free: 323.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-05/9.683, allocations: 31.98 kB / 4.069 GB, free: 323.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/9.683, allocations: 4 kB / 4.069 GB, free: 323.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005658/9.683, allocations: 452.1 kB / 4.069 GB, free: 322.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/9.683, allocations: 4 kB / 4.069 GB, free: 322.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/9.683, allocations: 11.95 kB / 4.069 GB, free: 322.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/9.684, allocations: 155.6 kB / 4.069 GB, free: 322.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/9.684, allocations: 15.92 kB / 4.069 GB, free: 322.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008979/9.685, allocations: 71.86 kB / 4.069 GB, free: 322.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/9.685, allocations: 28 kB / 4.069 GB, free: 322.3 MB / 1.151 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 (55): * Single equations (assignments): 44 * 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.0001717/9.685, allocations: 125.1 kB / 4.069 GB, free: 322.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/9.685, allocations: 94.81 kB / 4.069 GB, free: 322.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006936/9.686, allocations: 471.2 kB / 4.07 GB, free: 321.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/9.686, allocations: 7.953 kB / 4.07 GB, free: 321.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/9.686, allocations: 0 / 4.07 GB, free: 321.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/9.686, allocations: 7.984 kB / 4.07 GB, free: 321.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/9.688, allocations: 1.333 MB / 4.071 GB, free: 320.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/9.688, allocations: 4.219 kB / 4.071 GB, free: 320.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006342/9.688, allocations: 163.5 kB / 4.071 GB, free: 320.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/9.688, allocations: 4 kB / 4.071 GB, free: 320.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/9.688, allocations: 7.938 kB / 4.071 GB, free: 320.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/9.69, allocations: 6.036 MB / 4.077 GB, free: 313.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/9.69, allocations: 7.969 kB / 4.077 GB, free: 313.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/9.691, allocations: 0.6582 MB / 4.078 GB, free: 313.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003787/9.691, allocations: 227.7 kB / 4.078 GB, free: 312.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/9.691, allocations: 0 / 4.078 GB, free: 312.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006685/9.692, allocations: 63.86 kB / 4.078 GB, free: 312.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.715e-05/9.692, allocations: 39.89 kB / 4.078 GB, free: 312.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/9.692, allocations: 16 kB / 4.078 GB, free: 312.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007891/9.693, allocations: 0.6652 MB / 4.079 GB, free: 312 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/9.693, allocations: 0 / 4.079 GB, free: 312 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001526/9.695, allocations: 471.2 kB / 4.079 GB, free: 311.6 MB / 1.151 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 (33): * Single equations (assignments): 21 * 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.00165/9.696, allocations: 1.102 MB / 4.08 GB, free: 310.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002485/9.699, allocations: 1.013 MB / 4.081 GB, free: 309.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/9.699, allocations: 4.062 kB / 4.081 GB, free: 309.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005888/9.699, allocations: 275.6 kB / 4.082 GB, free: 309.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/9.702, allocations: 0.5332 MB / 4.082 GB, free: 308.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/9.704, allocations: 1.348 MB / 4.084 GB, free: 307.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/9.705, allocations: 1.207 MB / 4.085 GB, free: 306.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001912/9.707, allocations: 0.7332 MB / 4.085 GB, free: 305.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/9.707, allocations: 47.44 kB / 4.086 GB, free: 305.3 MB / 1.151 GB Notification: Performance of SimCode: time 7.01e-07/9.707, allocations: 0 / 4.086 GB, free: 305.3 MB / 1.151 GB Notification: Performance of Templates: time 0.03395/9.741, allocations: 22.69 MB / 4.108 GB, free: 282.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches