Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") [: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.0.1-maint.8.0.x/package.mo): time 1.522/1.522, allocations: 285.5 MB / 292.8 MB, free: 1.086 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 183.1 kB / 361.1 MB, free: 15.43 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.1 MB / 0.6195 GB, free: 6.125 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009613/0.0009613, allocations: 91.97 kB / 0.7325 GB, free: 46.91 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 9.308e-06/9.318e-06, allocations: 4 kB / 0.8511 GB, free: 13.08 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7545/0.7545, allocations: 115.3 MB / 0.9637 GB, free: 85.88 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.742/5.496, allocations: 2.063 GB / 3.027 GB, free: 69.67 MB / 0.9405 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/5.496, allocations: 87.95 kB / 3.027 GB, free: 69.59 MB / 0.9405 GB Notification: Performance of FrontEnd: time 7.612/13.11, allocations: 1.983 GB / 5.009 GB, free: 246.3 MB / 0.9405 GB Notification: Performance of Transformations before backend: time 0.0002446/13.11, allocations: 33 kB / 5.009 GB, free: 246.3 MB / 0.9405 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00627/13.11, allocations: 1.35 MB / 5.011 GB, free: 245.4 MB / 0.9405 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/13.11, allocations: 9.344 kB / 5.011 GB, free: 245.4 MB / 0.9405 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/13.12, allocations: 201.8 kB / 5.011 GB, free: 245.3 MB / 0.9405 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005299/13.12, allocations: 1.434 MB / 5.012 GB, free: 244.5 MB / 0.9405 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.915e-05/13.12, allocations: 16.69 kB / 5.012 GB, free: 244.5 MB / 0.9405 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/13.12, allocations: 42.06 kB / 5.012 GB, free: 244.5 MB / 0.9405 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001407/13.12, allocations: 0.7208 MB / 5.013 GB, free: 244.1 MB / 0.9405 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/13.12, allocations: 0.8651 MB / 5.014 GB, free: 243.6 MB / 0.9405 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/13.12, allocations: 7.844 kB / 5.014 GB, free: 243.6 MB / 0.9405 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.841e-05/13.13, allocations: 5 kB / 5.014 GB, free: 243.6 MB / 0.9405 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/13.13, allocations: 14.94 kB / 5.014 GB, free: 243.6 MB / 0.9405 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005359/13.13, allocations: 4.728 MB / 5.019 GB, free: 239.4 MB / 0.9405 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008086/13.13, allocations: 0.5294 MB / 5.019 GB, free: 239.1 MB / 0.9405 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000468/13.13, allocations: 444.7 kB / 5.02 GB, free: 239 MB / 0.9405 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003114/13.13, allocations: 199.5 kB / 5.02 GB, free: 238.8 MB / 0.9405 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003695/13.13, allocations: 313.4 kB / 5.02 GB, free: 238.6 MB / 0.9405 GB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/13.13, allocations: 1.969 kB / 5.02 GB, free: 238.6 MB / 0.9405 GB Notification: Performance of matching and sorting (n=35): time 0.002087/13.13, allocations: 0.9365 MB / 5.021 GB, free: 238.1 MB / 0.9405 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/13.13, allocations: 85.92 kB / 5.021 GB, free: 238 MB / 0.9405 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/13.14, allocations: 0.9199 MB / 5.022 GB, free: 237.5 MB / 0.9405 GB Notification: Performance of collectPreVariables (initialization): time 6.685e-05/13.14, allocations: 28.61 kB / 5.022 GB, free: 237.5 MB / 0.9405 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/13.14, allocations: 346.1 kB / 5.022 GB, free: 237.2 MB / 0.9405 GB Notification: Performance of collectInitialBindings (initialization): time 9.292e-05/13.14, allocations: 118.6 kB / 5.022 GB, free: 237.1 MB / 0.9405 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/13.14, allocations: 4.625 kB / 5.022 GB, free: 237.1 MB / 0.9405 GB Notification: Performance of setup shared object (initialization): time 6.932e-05/13.14, allocations: 332.4 kB / 5.023 GB, free: 236.8 MB / 0.9405 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/13.14, allocations: 222.4 kB / 5.023 GB, free: 236.7 MB / 0.9405 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/13.14, allocations: 0.5552 MB / 5.023 GB, free: 236.2 MB / 0.9405 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/13.14, allocations: 322.2 kB / 5.024 GB, free: 236 MB / 0.9405 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/13.14, allocations: 0 / 5.024 GB, free: 236 MB / 0.9405 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00181/13.14, allocations: 1.082 MB / 5.025 GB, free: 235.5 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004524/13.14, allocations: 2.098 MB / 5.027 GB, free: 233.3 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/13.14, allocations: 5.094 kB / 5.027 GB, free: 233.3 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006679/13.14, allocations: 340.8 kB / 5.027 GB, free: 233.1 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/13.14, allocations: 63.56 kB / 5.027 GB, free: 233.1 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/13.14, allocations: 1.349 MB / 5.029 GB, free: 232.2 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/13.14, allocations: 113.6 kB / 5.029 GB, free: 232.1 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-05/13.14, allocations: 30.05 kB / 5.029 GB, free: 232.1 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/13.14, allocations: 2.812 kB / 5.029 GB, free: 232.1 MB / 0.9405 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001413/13.14, allocations: 0.7587 MB / 5.029 GB, free: 231.8 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/13.14, allocations: 10.88 kB / 5.029 GB, free: 231.8 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008763/13.15, allocations: 312.7 kB / 5.03 GB, free: 231.7 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/13.15, allocations: 62.44 kB / 5.03 GB, free: 231.6 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004584/13.15, allocations: 3.437 MB / 5.033 GB, free: 229.2 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/13.15, allocations: 107.8 kB / 5.033 GB, free: 229.2 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.378e-05/13.15, allocations: 27.8 kB / 5.033 GB, free: 229.1 MB / 0.9405 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 (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 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002232/13.15, allocations: 125.1 kB / 5.033 GB, free: 229 MB / 0.9405 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/13.15, allocations: 103.3 kB / 5.034 GB, free: 229 MB / 0.9405 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/13.15, allocations: 0.8471 MB / 5.034 GB, free: 228.5 MB / 0.9405 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/13.15, allocations: 3.281 kB / 5.034 GB, free: 228.5 MB / 0.9405 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/13.15, allocations: 5.125 kB / 5.034 GB, free: 228.5 MB / 0.9405 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/13.15, allocations: 1.188 kB / 5.034 GB, free: 228.5 MB / 0.9405 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003468/13.16, allocations: 1.771 MB / 5.036 GB, free: 227.4 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/13.16, allocations: 1.938 kB / 5.036 GB, free: 227.4 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/13.16, allocations: 30.39 kB / 5.036 GB, free: 227.4 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006485/13.16, allocations: 295 kB / 5.036 GB, free: 227.1 MB / 0.9405 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/13.16, allocations: 8 kB / 5.036 GB, free: 227.1 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/13.16, allocations: 1.202 MB / 5.038 GB, free: 225.9 MB / 0.9405 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/13.16, allocations: 0 / 5.038 GB, free: 225.9 MB / 0.9405 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001442/13.16, allocations: 1.05 MB / 5.039 GB, free: 224.8 MB / 0.9405 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005162/13.16, allocations: 235.7 kB / 5.039 GB, free: 224.5 MB / 0.9405 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/13.16, allocations: 8 kB / 5.039 GB, free: 224.5 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007218/13.16, allocations: 74.38 kB / 5.039 GB, free: 224.5 MB / 0.9405 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.689e-05/13.16, allocations: 35.33 kB / 5.039 GB, free: 224.4 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/13.16, allocations: 8 kB / 5.039 GB, free: 224.4 MB / 0.9405 GB Notification: Performance of sort global known variables: time 0.0008197/13.16, allocations: 0.7139 MB / 5.04 GB, free: 223.7 MB / 0.9405 GB Notification: Performance of remove unused functions: time 0.001879/13.17, allocations: 0.5578 MB / 5.04 GB, free: 223.1 MB / 0.9405 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 (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 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001602/13.17, allocations: 1.217 MB / 5.041 GB, free: 222.2 MB / 0.9405 GB Notification: Performance of simCode: created initialization part: time 0.001812/13.17, allocations: 1.079 MB / 5.042 GB, free: 221.1 MB / 0.9405 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/13.17, allocations: 0 / 5.042 GB, free: 221.1 MB / 0.9405 GB Notification: Performance of simCode: created simulation system equations: time 0.0004174/13.17, allocations: 271.1 kB / 5.043 GB, free: 220.8 MB / 0.9405 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002936/13.17, allocations: 0.5611 MB / 5.043 GB, free: 220.3 MB / 0.9405 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/13.17, allocations: 1.484 MB / 5.045 GB, free: 218.8 MB / 0.9405 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006546/13.18, allocations: 1.303 MB / 5.046 GB, free: 217.5 MB / 0.9405 GB Notification: Performance of SimCode: time 9.72e-07/13.18, allocations: 0 / 5.046 GB, free: 217.5 MB / 0.9405 GB Notification: Performance of Templates: time 0.04148/13.22, allocations: 27.38 MB / 5.073 GB, free: 190.6 MB / 0.9405 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)