Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") [: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.571/1.571, allocations: 289.8 MB / 297.1 MB, free: 6.602 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 173.3 kB / 366.3 MB, free: 1.953 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.1 MB / 0.6256 GB, free: 5.859 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008713/0.0008716, allocations: 89.41 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.14e-05/1.142e-05, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.637/0.637, allocations: 116.3 MB / 0.9726 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.177/4.814, allocations: 2.066 GB / 3.039 GB, free: 9.742 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/4.815, allocations: 100.6 kB / 3.039 GB, free: 9.645 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.683/8.497, allocations: 0.9733 GB / 4.012 GB, free: 134 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.889e-05/8.497, allocations: 39.86 kB / 4.012 GB, free: 134 MB / 0.948 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.001826/8.499, allocations: 1.137 MB / 4.013 GB, free: 132.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/8.499, allocations: 12.03 kB / 4.013 GB, free: 132.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007845/8.5, allocations: 190.4 kB / 4.014 GB, free: 132.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/8.502, allocations: 1.116 MB / 4.015 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/8.502, allocations: 19.98 kB / 4.015 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.215e-05/8.502, allocations: 36 kB / 4.015 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006554/8.503, allocations: 493.7 kB / 4.015 GB, free: 130.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008119/8.504, allocations: 0.6888 MB / 4.016 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/8.504, allocations: 0 / 4.016 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/8.504, allocations: 4 kB / 4.016 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/8.504, allocations: 16 kB / 4.016 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003665/8.507, allocations: 4.658 MB / 4.02 GB, free: 125.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005474/8.508, allocations: 446.4 kB / 4.021 GB, free: 124.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/8.508, allocations: 247.6 kB / 4.021 GB, free: 124.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003486/8.509, allocations: 198.2 kB / 4.021 GB, free: 124.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003432/8.509, allocations: 261.7 kB / 4.022 GB, free: 123.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.414e-06/8.509, allocations: 0 / 4.022 GB, free: 123.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001829/8.511, allocations: 0.7601 MB / 4.022 GB, free: 123.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/8.511, allocations: 85.09 kB / 4.022 GB, free: 123 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/8.512, allocations: 0.8755 MB / 4.023 GB, free: 122.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/8.512, allocations: 33.7 kB / 4.023 GB, free: 122.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000233/8.512, allocations: 344.7 kB / 4.024 GB, free: 121.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.677e-05/8.512, allocations: 98.56 kB / 4.024 GB, free: 121.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/8.512, allocations: 0 / 4.024 GB, free: 121.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.557e-05/8.513, allocations: 326 kB / 4.024 GB, free: 121.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/8.513, allocations: 188.8 kB / 4.024 GB, free: 121.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000443/8.513, allocations: 0.496 MB / 4.025 GB, free: 120.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/8.514, allocations: 278.2 kB / 4.025 GB, free: 120.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/8.514, allocations: 4 kB / 4.025 GB, free: 120.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001448/8.515, allocations: 0.8947 MB / 4.026 GB, free: 119.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007535/8.516, allocations: 2.097 MB / 4.028 GB, free: 117.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/8.516, allocations: 4 kB / 4.028 GB, free: 117.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005326/8.516, allocations: 262.9 kB / 4.028 GB, free: 116.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/8.517, allocations: 59.91 kB / 4.028 GB, free: 116.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/8.518, allocations: 1.243 MB / 4.029 GB, free: 115.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009474/8.519, allocations: 79.48 kB / 4.029 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/8.519, allocations: 31.98 kB / 4.029 GB, free: 115.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/8.519, allocations: 4 kB / 4.029 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009859/8.52, allocations: 0.5786 MB / 4.03 GB, free: 114.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/8.52, allocations: 4 kB / 4.03 GB, free: 114.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005241/8.521, allocations: 212.8 kB / 4.03 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/8.521, allocations: 71.84 kB / 4.03 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003022/8.524, allocations: 2.749 MB / 4.033 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008227/8.525, allocations: 79.67 kB / 4.033 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/8.525, allocations: 20 kB / 4.033 GB, free: 111.5 MB / 0.948 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 (34): * Single equations (assignments): 32 * 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.000181/8.525, allocations: 120.9 kB / 4.033 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/8.525, allocations: 102.8 kB / 4.033 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/8.526, allocations: 0.6514 MB / 4.034 GB, free: 110.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/8.526, allocations: 4 kB / 4.034 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/8.526, allocations: 0 / 4.034 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/8.526, allocations: 4 kB / 4.034 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/8.528, allocations: 1.489 MB / 4.035 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/8.528, allocations: 4.031 kB / 4.035 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/8.528, allocations: 23.98 kB / 4.035 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003195/8.529, allocations: 219.6 kB / 4.036 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/8.529, allocations: 4 kB / 4.036 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008485/8.53, allocations: 1.099 MB / 4.037 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/8.53, allocations: 4 kB / 4.037 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008367/8.531, allocations: 0.8551 MB / 4.038 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/8.531, allocations: 215.8 kB / 4.038 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/8.531, allocations: 4 kB / 4.038 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000531/8.532, allocations: 55.8 kB / 4.038 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/8.532, allocations: 27.95 kB / 4.038 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/8.532, allocations: 11.94 kB / 4.038 GB, free: 106.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006551/8.532, allocations: 0.6847 MB / 4.039 GB, free: 105.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001465/8.534, allocations: 483.4 kB / 4.039 GB, free: 105.3 MB / 0.948 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 (12): * Single equations (assignments): 9 * 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001443/8.535, allocations: 1.101 MB / 4.04 GB, free: 104.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001947/8.537, allocations: 1.035 MB / 4.041 GB, free: 103.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/8.537, allocations: 4 kB / 4.041 GB, free: 103.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004719/8.538, allocations: 262.4 kB / 4.041 GB, free: 102.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/8.539, allocations: 369 kB / 4.042 GB, free: 102.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/8.541, allocations: 1.39 MB / 4.043 GB, free: 101 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005924/8.542, allocations: 1.259 MB / 4.044 GB, free: 99.76 MB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/8.542, allocations: 0 / 4.044 GB, free: 99.76 MB / 0.948 GB Notification: Performance of Templates: time 0.03379/8.576, allocations: 23.04 MB / 4.067 GB, free: 76.82 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)