Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.982/1.982, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.00127/0.00127, allocations: 181.3 kB / 490.8 MB, free: 1.945 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.381/1.381, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.0009819/0.0009819, allocations: 97.28 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.003e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2478, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.063/4.31, allocations: 1.872 GB / 3.083 GB, free: 431.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/4.311, allocations: 91.69 kB / 3.083 GB, free: 431.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 5.568/9.879, allocations: 1.816 GB / 4.899 GB, free: 355.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001327/9.879, allocations: 31.19 kB / 4.899 GB, free: 355.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.004857/9.884, allocations: 1.198 MB / 4.901 GB, free: 354.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/9.884, allocations: 8.938 kB / 4.901 GB, free: 354.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/9.885, allocations: 192 kB / 4.901 GB, free: 354.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004231/9.889, allocations: 1.398 MB / 4.902 GB, free: 353.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/9.889, allocations: 18.97 kB / 4.902 GB, free: 353.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.383e-05/9.889, allocations: 41.8 kB / 4.902 GB, free: 353.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009294/9.89, allocations: 0.4979 MB / 4.903 GB, free: 353.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/9.891, allocations: 0.7137 MB / 4.903 GB, free: 353.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/9.891, allocations: 1.656 kB / 4.903 GB, free: 353.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-05/9.891, allocations: 2.969 kB / 4.903 GB, free: 353.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/9.891, allocations: 16.72 kB / 4.903 GB, free: 353.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004048/9.896, allocations: 4.158 MB / 4.908 GB, free: 349.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/9.896, allocations: 454.6 kB / 4.908 GB, free: 349.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003378/9.896, allocations: 327.2 kB / 4.908 GB, free: 349.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/9.897, allocations: 196.5 kB / 4.908 GB, free: 348.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003105/9.897, allocations: 279.3 kB / 4.909 GB, free: 348.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.585e-06/9.897, allocations: 0 / 4.909 GB, free: 348.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001013/9.898, allocations: 0.5263 MB / 4.909 GB, free: 348.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/9.898, allocations: 91.92 kB / 4.909 GB, free: 348.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008983/9.899, allocations: 0.8769 MB / 4.91 GB, free: 347.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/9.899, allocations: 29.45 kB / 4.91 GB, free: 347.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/9.899, allocations: 330.2 kB / 4.911 GB, free: 347.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.884e-05/9.899, allocations: 113.8 kB / 4.911 GB, free: 347.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/9.899, allocations: 0 / 4.911 GB, free: 347.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.39e-05/9.899, allocations: 325.8 kB / 4.911 GB, free: 347.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/9.9, allocations: 208.2 kB / 4.911 GB, free: 347.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/9.9, allocations: 0.5153 MB / 4.912 GB, free: 346.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/9.9, allocations: 295.4 kB / 4.912 GB, free: 346.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/9.9, allocations: 6.312 kB / 4.912 GB, free: 346.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008649/9.901, allocations: 0.6476 MB / 4.913 GB, free: 346.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004118/9.902, allocations: 2.093 MB / 4.915 GB, free: 344 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/9.902, allocations: 10.12 kB / 4.915 GB, free: 344 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/9.902, allocations: 6.938 kB / 4.915 GB, free: 344 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/9.902, allocations: 119 kB / 4.915 GB, free: 344 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/9.902, allocations: 11.19 kB / 4.915 GB, free: 344 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/9.903, allocations: 100.9 kB / 4.915 GB, free: 343.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/9.904, allocations: 31.55 kB / 4.915 GB, free: 343.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/9.904, allocations: 3.906 kB / 4.915 GB, free: 343.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000641/9.904, allocations: 446.5 kB / 4.915 GB, free: 343.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/9.904, allocations: 3.438 kB / 4.915 GB, free: 343.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/9.904, allocations: 11.38 kB / 4.915 GB, free: 343.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/9.905, allocations: 114.8 kB / 4.915 GB, free: 343.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/9.905, allocations: 11.06 kB / 4.915 GB, free: 343.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008586/9.906, allocations: 90.12 kB / 4.916 GB, free: 343.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/9.906, allocations: 25.2 kB / 4.916 GB, free: 343.7 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.0001488/9.906, allocations: 131.7 kB / 4.916 GB, free: 343.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/9.906, allocations: 92.75 kB / 4.916 GB, free: 343.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009518/9.907, allocations: 498.5 kB / 4.916 GB, free: 343.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/9.907, allocations: 4.219 kB / 4.916 GB, free: 343.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/9.907, allocations: 1.281 kB / 4.916 GB, free: 343.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/9.907, allocations: 0 / 4.916 GB, free: 343.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/9.909, allocations: 1.357 MB / 4.918 GB, free: 342.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/9.909, allocations: 3.719 kB / 4.918 GB, free: 342.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/9.909, allocations: 80.11 kB / 4.918 GB, free: 342.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/9.909, allocations: 3.25 kB / 4.918 GB, free: 342.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/9.909, allocations: 8.125 kB / 4.918 GB, free: 342.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/9.909, allocations: 3.375 kB / 4.918 GB, free: 342.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/9.909, allocations: 5.781 kB / 4.918 GB, free: 342.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006799/9.91, allocations: 0.6817 MB / 4.918 GB, free: 341.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/9.91, allocations: 212.5 kB / 4.919 GB, free: 341.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/9.91, allocations: 7.156 kB / 4.919 GB, free: 341.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/9.911, allocations: 68.64 kB / 4.919 GB, free: 341.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.296e-05/9.911, allocations: 32.64 kB / 4.919 GB, free: 341.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/9.911, allocations: 13.06 kB / 4.919 GB, free: 341.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007976/9.912, allocations: 0.6848 MB / 4.919 GB, free: 341.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001541/9.914, allocations: 479.2 kB / 4.92 GB, free: 341.1 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.001573/9.915, allocations: 1.124 MB / 4.921 GB, free: 340.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001328/9.916, allocations: 0.7935 MB / 4.922 GB, free: 340.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/9.916, allocations: 0 / 4.922 GB, free: 340.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000302/9.917, allocations: 204.9 kB / 4.922 GB, free: 340.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/9.92, allocations: 0.5235 MB / 4.922 GB, free: 340 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/9.923, allocations: 1.401 MB / 4.924 GB, free: 339.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009521/9.924, allocations: 1.274 MB / 4.925 GB, free: 338.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.585e-06/9.924, allocations: 0 / 4.925 GB, free: 338.4 MB / 1.151 GB Notification: Performance of Templates: time 0.03997/9.964, allocations: 23.33 MB / 4.948 GB, free: 317.5 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches