Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") translateModel(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 180.8 kB / 7.8 MB, free: 2.129 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.443/0.443, allocations: 90.86 MB / 99.08 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 221.4 MB / 342.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009089/0.0009089, allocations: 94.58 kB / 415.5 MB, free: 9.848 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.897e-06/8.917e-06, allocations: 4 kB / 493.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3009, allocations: 72.31 MB / 0.5529 GB, free: 44.85 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9356/1.237, allocations: 0.5651 GB / 1.118 GB, free: 45.83 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/1.237, allocations: 82.95 kB / 1.118 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.5659/1.803, allocations: 169.5 MB / 1.284 GB, free: 132.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001016/1.803, allocations: 27.92 kB / 1.284 GB, free: 132.8 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002146/1.805, allocations: 0.9433 MB / 1.284 GB, free: 131.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/1.805, allocations: 8.031 kB / 1.285 GB, free: 131.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002519/1.808, allocations: 298.7 kB / 1.285 GB, free: 131.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/1.809, allocations: 0.7023 MB / 1.285 GB, free: 130.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/1.809, allocations: 12 kB / 1.285 GB, free: 130.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/1.81, allocations: 31.91 kB / 1.286 GB, free: 130.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006999/1.81, allocations: 289.9 kB / 1.286 GB, free: 130.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007283/1.811, allocations: 443 kB / 1.286 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/1.811, allocations: 3.938 kB / 1.286 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/1.811, allocations: 4 kB / 1.286 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/1.811, allocations: 8 kB / 1.286 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/1.814, allocations: 2.735 MB / 1.289 GB, free: 127 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/1.814, allocations: 200.9 kB / 1.289 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/1.814, allocations: 130.1 kB / 1.289 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003683/1.815, allocations: 0.6613 MB / 1.29 GB, free: 125.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/1.815, allocations: 50.73 kB / 1.29 GB, free: 125.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=28): time 2.033e-06/1.815, allocations: 0 / 1.29 GB, free: 125.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.005091/1.82, allocations: 1.657 MB / 1.292 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/1.82, allocations: 81.11 kB / 1.292 GB, free: 124 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005773/1.82, allocations: 414.3 kB / 1.292 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/1.82, allocations: 25.7 kB / 1.292 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.63e-05/1.821, allocations: 244.3 kB / 1.292 GB, free: 123.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.53e-05/1.821, allocations: 138 kB / 1.292 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/1.821, allocations: 0 / 1.292 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.776e-05/1.821, allocations: 362.8 kB / 1.293 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/1.821, allocations: 145 kB / 1.293 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/1.821, allocations: 274.4 kB / 1.293 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/1.822, allocations: 199.4 kB / 1.293 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.822, allocations: 7.938 kB / 1.293 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001481/1.823, allocations: 0.6737 MB / 1.294 GB, free: 121.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001939/1.823, allocations: 1.217 MB / 1.295 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.823, allocations: 4 kB / 1.295 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009012/1.824, allocations: 261.5 kB / 1.295 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/1.824, allocations: 71.84 kB / 1.296 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004315/1.829, allocations: 3.851 MB / 1.299 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/1.83, allocations: 79.75 kB / 1.299 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/1.83, allocations: 20 kB / 1.299 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.246e-06/1.83, allocations: 7.125 kB / 1.299 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001412/1.831, allocations: 0.5827 MB / 1.3 GB, free: 115 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/1.832, allocations: 4.25 kB / 1.3 GB, free: 115 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008302/1.832, allocations: 261.5 kB / 1.3 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/1.833, allocations: 63.91 kB / 1.3 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004502/1.837, allocations: 3.855 MB / 1.304 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/1.838, allocations: 79.81 kB / 1.304 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.518e-05/1.838, allocations: 20 kB / 1.304 GB, free: 110.5 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002181/1.839, allocations: 130.5 kB / 1.304 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/1.839, allocations: 59.25 kB / 1.304 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/1.841, allocations: 0.6178 MB / 1.305 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.841, allocations: 4 kB / 1.305 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/1.841, allocations: 4 kB / 1.305 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001312/1.842, allocations: 0.6942 MB / 1.306 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/1.845, allocations: 1.568 MB / 1.307 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.845, allocations: 3.938 kB / 1.307 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/1.845, allocations: 59.94 kB / 1.307 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008539/1.846, allocations: 237.5 kB / 1.307 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/1.846, allocations: 4 kB / 1.307 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003999/1.85, allocations: 3.645 MB / 1.311 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/1.85, allocations: 4 kB / 1.311 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001716/1.852, allocations: 0.8892 MB / 1.312 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003901/1.852, allocations: 184.3 kB / 1.312 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/1.852, allocations: 8 kB / 1.312 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.853, allocations: 71.81 kB / 1.312 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/1.854, allocations: 19.97 kB / 1.312 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/1.854, allocations: 19.98 kB / 1.312 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.000391/1.854, allocations: 310.9 kB / 1.312 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001875/1.856, allocations: 443.9 kB / 1.313 GB, free: 101.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.ports[2].h_outflow,vol1.ports[1].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008861/1.857, allocations: 315.2 kB / 1.313 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002467/1.859, allocations: 1.168 MB / 1.314 GB, free: 99.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.859, allocations: 0 / 1.314 GB, free: 99.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/1.86, allocations: 479.9 kB / 1.315 GB, free: 99.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/1.862, allocations: 319.7 kB / 1.315 GB, free: 98.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/1.864, allocations: 0.9311 MB / 1.316 GB, free: 97.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006067/1.865, allocations: 0.973 MB / 1.317 GB, free: 96.85 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/1.865, allocations: 0 / 1.317 GB, free: 96.85 MB / 0.6042 GB Notification: Performance of Templates: time 0.02741/1.892, allocations: 18.45 MB / 1.335 GB, free: 78.53 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1)