Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.107/2.107, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.001616/0.001616, allocations: 177.3 kB / 487 MB, free: 5.41 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.456/1.456, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.001105/0.001105, allocations: 106.4 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.115e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.317, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.606/4.923, allocations: 1.871 GB / 3.076 GB, free: 436.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/4.923, allocations: 91.72 kB / 3.076 GB, free: 436.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 6.35/11.27, allocations: 1.816 GB / 4.892 GB, free: 361.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001402/11.27, allocations: 28.78 kB / 4.892 GB, free: 361.2 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.004511/11.28, allocations: 1.199 MB / 4.893 GB, free: 360.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/11.28, allocations: 8.281 kB / 4.893 GB, free: 360.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/11.28, allocations: 193.3 kB / 4.894 GB, free: 360.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004365/11.28, allocations: 1.395 MB / 4.895 GB, free: 360.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.077e-05/11.28, allocations: 16.09 kB / 4.895 GB, free: 360.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/11.28, allocations: 36.91 kB / 4.895 GB, free: 360.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001499/11.29, allocations: 0.5056 MB / 4.896 GB, free: 360.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/11.29, allocations: 0.7086 MB / 4.896 GB, free: 360.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/11.29, allocations: 1.688 kB / 4.896 GB, free: 360.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/11.29, allocations: 9.156 kB / 4.896 GB, free: 360.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/11.29, allocations: 13.75 kB / 4.896 GB, free: 360.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005501/11.29, allocations: 4.167 MB / 4.9 GB, free: 357.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/11.29, allocations: 452.1 kB / 4.901 GB, free: 357.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007401/11.29, allocations: 329.9 kB / 4.901 GB, free: 357.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005132/11.3, allocations: 197.8 kB / 4.901 GB, free: 357.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005893/11.3, allocations: 283.4 kB / 4.902 GB, free: 357 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 4.048e-06/11.3, allocations: 4.094 kB / 4.902 GB, free: 357 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001697/11.3, allocations: 0.526 MB / 4.902 GB, free: 356.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/11.3, allocations: 88.62 kB / 4.902 GB, free: 356.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/11.3, allocations: 0.8731 MB / 4.903 GB, free: 356.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.558e-05/11.3, allocations: 28.98 kB / 4.903 GB, free: 356.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/11.3, allocations: 341.4 kB / 4.903 GB, free: 356.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/11.3, allocations: 117 kB / 4.903 GB, free: 356.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/11.3, allocations: 0 / 4.903 GB, free: 356.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.211e-05/11.3, allocations: 324.3 kB / 4.904 GB, free: 356.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/11.3, allocations: 202.7 kB / 4.904 GB, free: 356.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/11.3, allocations: 0.5222 MB / 4.905 GB, free: 355.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00054/11.3, allocations: 278.4 kB / 4.905 GB, free: 355.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/11.3, allocations: 2.125 kB / 4.905 GB, free: 355.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001437/11.3, allocations: 0.6499 MB / 4.905 GB, free: 355.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004804/11.3, allocations: 2.102 MB / 4.907 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/11.3, allocations: 5.438 kB / 4.907 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/11.3, allocations: 8.812 kB / 4.907 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007328/11.3, allocations: 119.2 kB / 4.908 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/11.3, allocations: 18.19 kB / 4.908 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/11.31, allocations: 99.81 kB / 4.908 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.462e-05/11.31, allocations: 25.83 kB / 4.908 GB, free: 353.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/11.31, allocations: 4.188 kB / 4.908 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001027/11.31, allocations: 447.9 kB / 4.908 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/11.31, allocations: 5.391 kB / 4.908 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/11.31, allocations: 9.75 kB / 4.908 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006712/11.31, allocations: 118.1 kB / 4.908 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/11.31, allocations: 13.84 kB / 4.908 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/11.31, allocations: 91.12 kB / 4.908 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/11.31, allocations: 24.19 kB / 4.908 GB, free: 353.4 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): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002047/11.31, allocations: 131 kB / 4.909 GB, free: 353.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/11.31, allocations: 92.38 kB / 4.909 GB, free: 353.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/11.31, allocations: 491.4 kB / 4.909 GB, free: 353.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/11.31, allocations: 4.25 kB / 4.909 GB, free: 353.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/11.31, allocations: 1.688 kB / 4.909 GB, free: 353.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/11.31, allocations: 5.25 kB / 4.909 GB, free: 353.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/11.31, allocations: 1.364 MB / 4.91 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/11.31, allocations: 0.9375 kB / 4.91 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005121/11.31, allocations: 77.38 kB / 4.911 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/11.31, allocations: 4.469 kB / 4.911 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/11.31, allocations: 4.641 kB / 4.911 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/11.31, allocations: 14.17 kB / 4.911 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/11.31, allocations: 2.75 kB / 4.911 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009724/11.32, allocations: 0.6773 MB / 4.911 GB, free: 352.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005596/11.32, allocations: 214.9 kB / 4.911 GB, free: 352.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/11.32, allocations: 8.562 kB / 4.911 GB, free: 352.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009032/11.32, allocations: 68.28 kB / 4.911 GB, free: 352.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/11.32, allocations: 28.84 kB / 4.912 GB, free: 352.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/11.32, allocations: 12.2 kB / 4.912 GB, free: 352.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001235/11.32, allocations: 0.6839 MB / 4.912 GB, free: 352.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002198/11.32, allocations: 475.4 kB / 4.913 GB, free: 352.2 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): 31 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002605/11.32, allocations: 1.12 MB / 4.914 GB, free: 352 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00257/11.33, allocations: 0.7815 MB / 4.914 GB, free: 351.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/11.33, allocations: 0.6875 kB / 4.914 GB, free: 351.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006457/11.33, allocations: 208.2 kB / 4.915 GB, free: 351.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006103/11.33, allocations: 0.5352 MB / 4.915 GB, free: 351.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005407/11.34, allocations: 1.387 MB / 4.917 GB, free: 351.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001969/11.34, allocations: 1.28 MB / 4.918 GB, free: 350.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.443e-06/11.34, allocations: 1.344 kB / 4.918 GB, free: 350.8 MB / 1.151 GB Notification: Performance of Templates: time 0.07758/11.42, allocations: 23.32 MB / 4.941 GB, free: 344 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches