Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") [: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 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 289.8 MB / 297.1 MB, free: 9.816 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 193.1 kB / 366.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.925/1.925, allocations: 205.1 MB / 0.6256 GB, free: 2.148 MB / 446.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 85.84 kB / 0.7395 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 1.081e-05/1.085e-05, allocations: 1.188 kB / 0.859 GB, free: 156.3 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2917, allocations: 116.3 MB / 0.9726 GB, free: 54.05 MB / 0.6387 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.218/5.51, allocations: 2.066 GB / 3.039 GB, free: 301.8 MB / 0.9512 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/5.51, allocations: 84.55 kB / 3.039 GB, free: 301.8 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.275/11.79, allocations: 1.993 GB / 5.032 GB, free: 127.9 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001296/11.79, allocations: 31.98 kB / 5.032 GB, free: 127.9 MB / 0.9512 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.004929/11.79, allocations: 1.333 MB / 5.034 GB, free: 126.5 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/11.79, allocations: 8.031 kB / 5.034 GB, free: 126.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/11.79, allocations: 210.3 kB / 5.034 GB, free: 126.3 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003561/11.8, allocations: 1.457 MB / 5.035 GB, free: 124.8 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/11.8, allocations: 24 kB / 5.035 GB, free: 124.7 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.325e-05/11.8, allocations: 43.94 kB / 5.035 GB, free: 124.7 MB / 0.9512 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009507/11.8, allocations: 0.717 MB / 5.036 GB, free: 124 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009937/11.8, allocations: 0.8604 MB / 5.037 GB, free: 123 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/11.8, allocations: 0 / 5.037 GB, free: 123 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-05/11.8, allocations: 11.94 kB / 5.037 GB, free: 123 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/11.8, allocations: 12 kB / 5.037 GB, free: 123 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003806/11.8, allocations: 4.699 MB / 5.041 GB, free: 118 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006102/11.8, allocations: 0.4969 MB / 5.042 GB, free: 117.5 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004217/11.8, allocations: 433.2 kB / 5.042 GB, free: 117.1 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003076/11.8, allocations: 198.5 kB / 5.043 GB, free: 116.8 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003517/11.8, allocations: 308.8 kB / 5.043 GB, free: 116.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=35): time 1.994e-06/11.8, allocations: 0 / 5.043 GB, free: 116.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35): time 0.00176/11.81, allocations: 0.8719 MB / 5.044 GB, free: 115.6 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/11.81, allocations: 81.11 kB / 5.044 GB, free: 115.5 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009483/11.81, allocations: 0.922 MB / 5.045 GB, free: 114.6 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/11.81, allocations: 33.69 kB / 5.045 GB, free: 114.6 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/11.81, allocations: 344.4 kB / 5.045 GB, free: 114.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.937e-05/11.81, allocations: 122.2 kB / 5.045 GB, free: 114.1 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/11.81, allocations: 0 / 5.045 GB, free: 114.1 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 7.316e-05/11.81, allocations: 322 kB / 5.045 GB, free: 113.8 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/11.81, allocations: 228.9 kB / 5.046 GB, free: 113.6 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/11.81, allocations: 0.542 MB / 5.046 GB, free: 112.9 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/11.81, allocations: 310 kB / 5.046 GB, free: 112.6 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/11.81, allocations: 0 / 5.046 GB, free: 112.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001498/11.81, allocations: 1.008 MB / 5.047 GB, free: 111.6 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004101/11.81, allocations: 2.1 MB / 5.05 GB, free: 109.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/11.81, allocations: 8 kB / 5.05 GB, free: 109.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005157/11.81, allocations: 261.5 kB / 5.05 GB, free: 109 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/11.81, allocations: 87.77 kB / 5.05 GB, free: 108.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/11.81, allocations: 1.214 MB / 5.051 GB, free: 107.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/11.81, allocations: 115.4 kB / 5.051 GB, free: 107.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/11.81, allocations: 27.98 kB / 5.051 GB, free: 107.6 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/11.81, allocations: 4 kB / 5.051 GB, free: 107.6 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001043/11.81, allocations: 0.6879 MB / 5.052 GB, free: 106.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/11.81, allocations: 4 kB / 5.052 GB, free: 106.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005847/11.81, allocations: 247 kB / 5.052 GB, free: 106.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/11.81, allocations: 75.89 kB / 5.052 GB, free: 106.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002926/11.82, allocations: 2.911 MB / 5.055 GB, free: 103.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009663/11.82, allocations: 103.6 kB / 5.055 GB, free: 103.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/11.82, allocations: 20 kB / 5.055 GB, free: 103.4 MB / 0.9512 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001732/11.82, allocations: 136.9 kB / 5.055 GB, free: 103.3 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/11.82, allocations: 98.78 kB / 5.055 GB, free: 103.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/11.82, allocations: 0.7691 MB / 5.056 GB, free: 102.4 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/11.82, allocations: 4 kB / 5.056 GB, free: 102.4 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/11.82, allocations: 0 / 5.056 GB, free: 102.4 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/11.82, allocations: 0 / 5.056 GB, free: 102.4 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/11.82, allocations: 1.707 MB / 5.058 GB, free: 100.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/11.82, allocations: 0 / 5.058 GB, free: 100.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/11.82, allocations: 36.19 kB / 5.058 GB, free: 100.6 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003928/11.82, allocations: 228.5 kB / 5.058 GB, free: 100.3 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/11.82, allocations: 4 kB / 5.058 GB, free: 100.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007421/11.82, allocations: 1.082 MB / 5.059 GB, free: 99.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/11.82, allocations: 4 kB / 5.059 GB, free: 99.23 MB / 0.9512 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000985/11.82, allocations: 0.964 MB / 5.06 GB, free: 98.19 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003273/11.82, allocations: 227.8 kB / 5.06 GB, free: 97.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/11.82, allocations: 0 / 5.06 GB, free: 97.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007177/11.83, allocations: 87.66 kB / 5.06 GB, free: 97.86 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/11.83, allocations: 27.95 kB / 5.06 GB, free: 97.83 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/11.83, allocations: 16 kB / 5.06 GB, free: 97.82 MB / 0.9512 GB Notification: Performance of sort global known variables: time 0.0007288/11.83, allocations: 0.7141 MB / 5.061 GB, free: 97.09 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001583/11.83, allocations: 0.5538 MB / 5.062 GB, free: 96.54 MB / 0.9512 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 {1 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001477/11.83, allocations: 1.283 MB / 5.063 GB, free: 95.24 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001455/11.83, allocations: 1.019 MB / 5.064 GB, free: 94.2 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/11.83, allocations: 0 / 5.064 GB, free: 94.2 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003357/11.83, allocations: 243.4 kB / 5.064 GB, free: 93.96 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/11.83, allocations: 0.5656 MB / 5.065 GB, free: 93.4 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/11.84, allocations: 1.476 MB / 5.066 GB, free: 91.87 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006084/11.84, allocations: 1.3 MB / 5.067 GB, free: 90.54 MB / 0.9512 GB Notification: Performance of SimCode: time 1.763e-06/11.84, allocations: 0 / 5.067 GB, free: 90.54 MB / 0.9512 GB Notification: Performance of Templates: time 0.03908/11.88, allocations: 27.31 MB / 5.094 GB, free: 63.4 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)