Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [: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.11/2.11, allocations: 387.2 MB / 394.5 MB, free: 4.508 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 185 kB / 487 MB, free: 11.05 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 221.4 MB / 0.7819 GB, free: 3.891 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 100.5 kB / 0.9213 GB, free: 5 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.075e-06, allocations: 0 / 1.066 GB, free: 141.1 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2887, allocations: 142.3 MB / 1.205 GB, free: 14.75 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.273/4.562, allocations: 1.869 GB / 3.074 GB, free: 329.5 MB / 1.143 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/4.562, allocations: 85.52 kB / 3.074 GB, free: 329.5 MB / 1.143 GB Notification: Performance of FrontEnd: time 5.552/10.11, allocations: 1.802 GB / 4.876 GB, free: 287.8 MB / 1.175 GB Notification: Performance of Transformations before backend: time 0.0001142/10.11, allocations: 34.14 kB / 4.876 GB, free: 287.8 MB / 1.175 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002001/10.12, allocations: 1.129 MB / 4.877 GB, free: 287 MB / 1.175 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/10.12, allocations: 8.562 kB / 4.877 GB, free: 287 MB / 1.175 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008992/10.12, allocations: 191.3 kB / 4.877 GB, free: 286.9 MB / 1.175 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/10.12, allocations: 1.084 MB / 4.878 GB, free: 286.2 MB / 1.175 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/10.12, allocations: 23.16 kB / 4.878 GB, free: 286.2 MB / 1.175 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.475e-05/10.12, allocations: 39.03 kB / 4.878 GB, free: 286.2 MB / 1.175 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006856/10.12, allocations: 493.4 kB / 4.879 GB, free: 286 MB / 1.175 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008686/10.12, allocations: 0.6826 MB / 4.879 GB, free: 285.5 MB / 1.175 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/10.12, allocations: 9.594 kB / 4.879 GB, free: 285.5 MB / 1.175 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.509e-05/10.12, allocations: 2.344 kB / 4.879 GB, free: 285.5 MB / 1.175 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/10.12, allocations: 13.19 kB / 4.879 GB, free: 285.5 MB / 1.175 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003907/10.12, allocations: 4.659 MB / 4.884 GB, free: 281.2 MB / 1.175 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006094/10.13, allocations: 458.1 kB / 4.884 GB, free: 281 MB / 1.175 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/10.13, allocations: 246.2 kB / 4.885 GB, free: 280.9 MB / 1.175 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003171/10.13, allocations: 200.1 kB / 4.885 GB, free: 280.7 MB / 1.175 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003489/10.13, allocations: 263.4 kB / 4.885 GB, free: 280.5 MB / 1.175 GB Notification: Performance of pre-optimization done (n=31): time 2.265e-06/10.13, allocations: 1.438 kB / 4.885 GB, free: 280.5 MB / 1.175 GB Notification: Performance of matching and sorting (n=31): time 0.001078/10.13, allocations: 0.4977 MB / 4.886 GB, free: 280.3 MB / 1.175 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/10.13, allocations: 85.09 kB / 4.886 GB, free: 280.2 MB / 1.175 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/10.13, allocations: 0.8717 MB / 4.886 GB, free: 279.7 MB / 1.175 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/10.13, allocations: 27.98 kB / 4.887 GB, free: 279.7 MB / 1.175 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/10.13, allocations: 347.9 kB / 4.887 GB, free: 279.4 MB / 1.175 GB Notification: Performance of collectInitialBindings (initialization): time 7.524e-05/10.13, allocations: 101.4 kB / 4.887 GB, free: 279.3 MB / 1.175 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/10.13, allocations: 0.9375 kB / 4.887 GB, free: 279.3 MB / 1.175 GB Notification: Performance of setup shared object (initialization): time 6.469e-05/10.13, allocations: 328 kB / 4.887 GB, free: 279 MB / 1.175 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/10.13, allocations: 190.3 kB / 4.887 GB, free: 278.9 MB / 1.175 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/10.13, allocations: 0.5049 MB / 4.888 GB, free: 278.4 MB / 1.175 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/10.13, allocations: 274.8 kB / 4.888 GB, free: 278.3 MB / 1.175 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/10.13, allocations: 5.438 kB / 4.888 GB, free: 278.3 MB / 1.175 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009522/10.13, allocations: 0.6212 MB / 4.889 GB, free: 278 MB / 1.175 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004501/10.13, allocations: 2.103 MB / 4.891 GB, free: 275.7 MB / 1.175 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/10.13, allocations: 13.11 kB / 4.891 GB, free: 275.7 MB / 1.175 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/10.13, allocations: 9.219 kB / 4.891 GB, free: 275.7 MB / 1.175 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005271/10.13, allocations: 119.6 kB / 4.891 GB, free: 275.7 MB / 1.175 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/10.13, allocations: 8.812 kB / 4.891 GB, free: 275.7 MB / 1.175 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008961/10.13, allocations: 96.97 kB / 4.891 GB, free: 275.6 MB / 1.175 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.491e-05/10.13, allocations: 23.62 kB / 4.891 GB, free: 275.6 MB / 1.175 GB Notification: Performance of prepare postOptimizeDAE: time 5.801e-06/10.13, allocations: 4.156 kB / 4.891 GB, free: 275.6 MB / 1.175 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006063/10.13, allocations: 418.2 kB / 4.892 GB, free: 275.4 MB / 1.175 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/10.13, allocations: 5.438 kB / 4.892 GB, free: 275.4 MB / 1.175 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/10.13, allocations: 9.406 kB / 4.892 GB, free: 275.4 MB / 1.175 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/10.13, allocations: 116.7 kB / 4.892 GB, free: 275.4 MB / 1.175 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/10.13, allocations: 12.22 kB / 4.892 GB, free: 275.4 MB / 1.175 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006239/10.13, allocations: 75.91 kB / 4.892 GB, free: 275.4 MB / 1.175 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/10.13, allocations: 21.97 kB / 4.892 GB, free: 275.4 MB / 1.175 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 (53): * Single equations (assignments): 52 * 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.0001239/10.13, allocations: 125.1 kB / 4.892 GB, free: 275.2 MB / 1.175 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/10.14, allocations: 103.9 kB / 4.892 GB, free: 275.2 MB / 1.175 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000682/10.14, allocations: 447.8 kB / 4.892 GB, free: 275 MB / 1.175 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/10.14, allocations: 3.094 kB / 4.892 GB, free: 275 MB / 1.175 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/10.14, allocations: 5.406 kB / 4.892 GB, free: 275 MB / 1.175 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/10.14, allocations: 3.984 kB / 4.892 GB, free: 274.9 MB / 1.175 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/10.14, allocations: 1.271 MB / 4.894 GB, free: 274.1 MB / 1.175 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/10.14, allocations: 5.219 kB / 4.894 GB, free: 274.1 MB / 1.175 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/10.14, allocations: 76.75 kB / 4.894 GB, free: 274.1 MB / 1.175 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/10.14, allocations: 4.156 kB / 4.894 GB, free: 274.1 MB / 1.175 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/10.14, allocations: 7.094 kB / 4.894 GB, free: 274 MB / 1.175 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/10.14, allocations: 7.625 kB / 4.894 GB, free: 274 MB / 1.175 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/10.14, allocations: 6.125 kB / 4.894 GB, free: 274 MB / 1.175 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006497/10.14, allocations: 0.6382 MB / 4.894 GB, free: 273.5 MB / 1.175 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/10.14, allocations: 213.6 kB / 4.895 GB, free: 273.4 MB / 1.175 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/10.14, allocations: 7.125 kB / 4.895 GB, free: 273.4 MB / 1.175 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005131/10.14, allocations: 51.55 kB / 4.895 GB, free: 273.3 MB / 1.175 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/10.14, allocations: 32.17 kB / 4.895 GB, free: 273.3 MB / 1.175 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/10.14, allocations: 13.5 kB / 4.895 GB, free: 273.3 MB / 1.175 GB Notification: Performance of sort global known variables: time 0.0009047/10.14, allocations: 0.6839 MB / 4.895 GB, free: 272.9 MB / 1.175 GB Notification: Performance of remove unused functions: time 0.001976/10.14, allocations: 448.1 kB / 4.896 GB, free: 272.9 MB / 1.175 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 (31): * Single equations (assignments): 29 * 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.001696/10.14, allocations: 1.042 MB / 4.897 GB, free: 272.4 MB / 1.175 GB Notification: Performance of simCode: created initialization part: time 0.001343/10.15, allocations: 0.7276 MB / 4.897 GB, free: 272.1 MB / 1.175 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/10.15, allocations: 1.125 kB / 4.897 GB, free: 272.1 MB / 1.175 GB Notification: Performance of simCode: created simulation system equations: time 0.0002793/10.15, allocations: 196.1 kB / 4.898 GB, free: 272 MB / 1.175 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/10.15, allocations: 370.4 kB / 4.898 GB, free: 271.8 MB / 1.175 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/10.15, allocations: 1.382 MB / 4.899 GB, free: 271.1 MB / 1.175 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000853/10.15, allocations: 1.272 MB / 4.901 GB, free: 270.2 MB / 1.175 GB Notification: Performance of SimCode: time 1.423e-06/10.15, allocations: 0 / 4.901 GB, free: 270.2 MB / 1.175 GB Notification: Performance of Templates: time 0.03931/10.19, allocations: 21.22 MB / 4.921 GB, free: 259.6 MB / 1.175 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches