Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") [: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.569/1.569, allocations: 289.8 MB / 297 MB, free: 6.625 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.00119/0.00119, allocations: 184.1 kB / 366.3 MB, free: 1.941 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.579/1.579, allocations: 205.1 MB / 0.6256 GB, free: 5.773 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.0009073/0.0009072, allocations: 95.72 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.163e-06/7.264e-06, allocations: 0 / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6405/0.6405, allocations: 116.3 MB / 0.9726 GB, free: 68.46 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.723/5.363, allocations: 2.066 GB / 3.039 GB, free: 357.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/5.364, allocations: 89.02 kB / 3.039 GB, free: 357.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.785/11.15, allocations: 1.8 GB / 4.839 GB, free: 8.922 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001111/11.15, allocations: 31.98 kB / 4.839 GB, free: 8.891 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.0022/11.15, allocations: 1.137 MB / 4.841 GB, free: 7.695 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/11.15, allocations: 8.031 kB / 4.841 GB, free: 7.688 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008903/11.15, allocations: 190.5 kB / 4.841 GB, free: 7.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002373/11.15, allocations: 1.112 MB / 4.842 GB, free: 6.332 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/11.15, allocations: 19.94 kB / 4.842 GB, free: 6.312 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/11.15, allocations: 43.94 kB / 4.842 GB, free: 6.27 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007348/11.16, allocations: 485.7 kB / 4.842 GB, free: 5.797 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008207/11.16, allocations: 0.6929 MB / 4.843 GB, free: 5.023 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/11.16, allocations: 11.84 kB / 4.843 GB, free: 5.012 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.292e-05/11.16, allocations: 4 kB / 4.843 GB, free: 5.008 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/11.16, allocations: 12 kB / 4.843 GB, free: 4.996 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4251/11.58, allocations: 4.655 MB / 4.848 GB, free: 358.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006714/11.58, allocations: 438.7 kB / 4.848 GB, free: 358.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/11.58, allocations: 256 kB / 4.848 GB, free: 358.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003471/11.58, allocations: 205.5 kB / 4.848 GB, free: 358.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000315/11.58, allocations: 256.4 kB / 4.849 GB, free: 358.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.765e-06/11.58, allocations: 3.625 kB / 4.849 GB, free: 358.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001938/11.59, allocations: 0.7735 MB / 4.85 GB, free: 358.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/11.59, allocations: 84.31 kB / 4.85 GB, free: 358.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009828/11.59, allocations: 0.8721 MB / 4.85 GB, free: 358 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.296e-05/11.59, allocations: 29.64 kB / 4.85 GB, free: 358 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/11.59, allocations: 342.5 kB / 4.851 GB, free: 357.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.44e-05/11.59, allocations: 106.2 kB / 4.851 GB, free: 357.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/11.59, allocations: 3.172 kB / 4.851 GB, free: 357.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.486e-05/11.59, allocations: 327.8 kB / 4.851 GB, free: 357.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/11.59, allocations: 184.9 kB / 4.851 GB, free: 357.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/11.59, allocations: 0.5 MB / 4.852 GB, free: 357.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/11.59, allocations: 275.4 kB / 4.852 GB, free: 357.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/11.59, allocations: 3.5 kB / 4.852 GB, free: 357.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001464/11.59, allocations: 0.9036 MB / 4.853 GB, free: 357 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003475/11.59, allocations: 2.1 MB / 4.855 GB, free: 354.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/11.59, allocations: 7.5 kB / 4.855 GB, free: 354.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003982/11.59, allocations: 228.9 kB / 4.855 GB, free: 354.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/11.59, allocations: 63.88 kB / 4.855 GB, free: 354.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009039/11.59, allocations: 1.146 MB / 4.856 GB, free: 354.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008079/11.59, allocations: 88.27 kB / 4.857 GB, free: 354.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.405e-05/11.59, allocations: 22.38 kB / 4.857 GB, free: 354.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.223e-06/11.59, allocations: 3.812 kB / 4.857 GB, free: 354.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009913/11.59, allocations: 0.5946 MB / 4.857 GB, free: 354.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/11.59, allocations: 3.875 kB / 4.857 GB, free: 354.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004929/11.59, allocations: 201.7 kB / 4.857 GB, free: 354.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/11.59, allocations: 60.47 kB / 4.857 GB, free: 354.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/11.6, allocations: 2.758 MB / 4.86 GB, free: 353 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008763/11.6, allocations: 81.55 kB / 4.86 GB, free: 353 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/11.6, allocations: 22 kB / 4.86 GB, free: 353 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001701/11.6, allocations: 122.2 kB / 4.86 GB, free: 352.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/11.6, allocations: 92.91 kB / 4.86 GB, free: 352.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/11.6, allocations: 0.6754 MB / 4.861 GB, free: 352.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/11.6, allocations: 7.078 kB / 4.861 GB, free: 352.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/11.6, allocations: 3.875 kB / 4.861 GB, free: 352.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/11.6, allocations: 3.609 kB / 4.861 GB, free: 352.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/11.6, allocations: 1.479 MB / 4.863 GB, free: 352.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/11.6, allocations: 0 / 4.863 GB, free: 352.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/11.6, allocations: 24.89 kB / 4.863 GB, free: 352.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000299/11.6, allocations: 197.2 kB / 4.863 GB, free: 352.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/11.6, allocations: 6.844 kB / 4.863 GB, free: 352.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007227/11.6, allocations: 1.019 MB / 4.864 GB, free: 351.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/11.6, allocations: 0 / 4.864 GB, free: 351.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009102/11.6, allocations: 0.8539 MB / 4.865 GB, free: 351.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/11.6, allocations: 216.8 kB / 4.865 GB, free: 351.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/11.6, allocations: 7.172 kB / 4.865 GB, free: 351.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/11.6, allocations: 57.17 kB / 4.865 GB, free: 351.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/11.6, allocations: 30.61 kB / 4.865 GB, free: 351.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/11.6, allocations: 14.66 kB / 4.865 GB, free: 351.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006992/11.6, allocations: 0.685 MB / 4.866 GB, free: 351.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001493/11.61, allocations: 471.2 kB / 4.866 GB, free: 351.1 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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001461/11.61, allocations: 1.11 MB / 4.867 GB, free: 351 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001451/11.61, allocations: 0.9187 MB / 4.868 GB, free: 350.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/11.61, allocations: 3.406 kB / 4.868 GB, free: 350.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/11.61, allocations: 204.2 kB / 4.868 GB, free: 350.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/11.61, allocations: 368.5 kB / 4.869 GB, free: 350.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/11.61, allocations: 1.398 MB / 4.87 GB, free: 350.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000751/11.61, allocations: 1.266 MB / 4.871 GB, free: 349.7 MB / 0.948 GB Notification: Performance of SimCode: time 4e-07/11.61, allocations: 0 / 4.871 GB, free: 349.7 MB / 0.948 GB Notification: Performance of Templates: time 0.03771/11.65, allocations: 23.36 MB / 4.894 GB, free: 349.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)