Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.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.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas") [: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.688/1.688, allocations: 289.8 MB / 297.1 MB, free: 9.047 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.001649/0.001649, allocations: 188.6 kB / 366.3 MB, free: 11.36 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.785/1.785, allocations: 205.1 MB / 0.6256 GB, free: 11.41 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 81.72 kB / 0.7396 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 8.216e-06/8.226e-06, allocations: 4 kB / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2266, allocations: 116.3 MB / 0.9726 GB, free: 31.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.19/10.42, allocations: 4.882 GB / 5.855 GB, free: 12.76 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/10.42, allocations: 87.64 kB / 5.855 GB, free: 12.68 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.222/12.64, allocations: 0.4885 GB / 6.343 GB, free: 233.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002062/12.64, allocations: 28.62 kB / 6.343 GB, free: 233.8 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.005916/12.65, allocations: 1.166 MB / 6.344 GB, free: 233.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.806e-05/12.65, allocations: 10 kB / 6.344 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003469/12.65, allocations: 354.3 kB / 6.345 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003795/12.65, allocations: 0.8911 MB / 6.346 GB, free: 232.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/12.65, allocations: 19.75 kB / 6.346 GB, free: 232.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002717/12.65, allocations: 37.44 kB / 6.346 GB, free: 232.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001538/12.66, allocations: 0.5251 MB / 6.346 GB, free: 232.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/12.66, allocations: 0.522 MB / 6.347 GB, free: 232.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/12.66, allocations: 3.938 kB / 6.347 GB, free: 232.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/12.66, allocations: 6.875 kB / 6.347 GB, free: 232.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.119e-05/12.66, allocations: 22.53 kB / 6.347 GB, free: 232.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004696/12.66, allocations: 2.7 MB / 6.349 GB, free: 230.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000774/12.66, allocations: 419.9 kB / 6.35 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/12.66, allocations: 239.5 kB / 6.35 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/12.66, allocations: 101.2 kB / 6.35 GB, free: 230 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/12.66, allocations: 39.27 kB / 6.35 GB, free: 229.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=45): time 3.356e-06/12.66, allocations: 0 / 6.35 GB, free: 229.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=63): time 0.01044/12.67, allocations: 2.673 MB / 6.353 GB, free: 228.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/12.67, allocations: 58.84 kB / 6.353 GB, free: 228.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/12.68, allocations: 464.2 kB / 6.353 GB, free: 228.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/12.68, allocations: 30.64 kB / 6.353 GB, free: 228.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/12.68, allocations: 274.4 kB / 6.354 GB, free: 228.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/12.68, allocations: 212.9 kB / 6.354 GB, free: 228.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/12.68, allocations: 0 / 6.354 GB, free: 228.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001543/12.68, allocations: 374.5 kB / 6.354 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004806/12.68, allocations: 268.1 kB / 6.354 GB, free: 227.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006711/12.68, allocations: 383.6 kB / 6.355 GB, free: 227.5 MB / 0.948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (0.9999999999999999 * vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006499/12.68, allocations: 1.427 MB / 6.356 GB, free: 227.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/12.68, allocations: 3.625 kB / 6.356 GB, free: 227.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003039/12.69, allocations: 1.063 MB / 6.357 GB, free: 226.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001872/12.69, allocations: 0.6128 MB / 6.358 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/12.69, allocations: 5.828 kB / 6.358 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/12.69, allocations: 468.8 kB / 6.358 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005968/12.69, allocations: 88.5 kB / 6.358 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007134/12.7, allocations: 4.575 MB / 6.363 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/12.7, allocations: 56.91 kB / 6.363 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/12.7, allocations: 23.5 kB / 6.363 GB, free: 222.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/12.7, allocations: 3.781 kB / 6.363 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002427/12.7, allocations: 0.9666 MB / 6.364 GB, free: 222.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/12.7, allocations: 0 / 6.364 GB, free: 222.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001738/12.7, allocations: 463.5 kB / 6.364 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/12.7, allocations: 76.66 kB / 6.364 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006345/12.71, allocations: 3.967 MB / 6.368 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/12.71, allocations: 52.81 kB / 6.368 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/12.71, allocations: 24.28 kB / 6.368 GB, free: 220 MB / 0.948 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real $DER.vol1.dynBal.medium.T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 23} Notification: Performance of prepare postOptimizeDAE: time 0.0003792/12.71, allocations: 121.3 kB / 6.368 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/12.71, allocations: 73.81 kB / 6.368 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/12.71, allocations: 1.054 MB / 6.369 GB, free: 219.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/12.71, allocations: 8.75 kB / 6.37 GB, free: 219.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/12.71, allocations: 0 / 6.37 GB, free: 219.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002324/12.72, allocations: 1.254 MB / 6.371 GB, free: 218.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004927/12.72, allocations: 2.248 MB / 6.373 GB, free: 217.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/12.72, allocations: 3.844 kB / 6.373 GB, free: 217.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/12.72, allocations: 76.64 kB / 6.373 GB, free: 217.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002118/12.72, allocations: 483.2 kB / 6.373 GB, free: 217.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.697e-05/12.72, allocations: 18.73 kB / 6.373 GB, free: 217.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007366/12.73, allocations: 4.365 MB / 6.378 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/12.73, allocations: 1.031 kB / 6.378 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004127/12.74, allocations: 1.514 MB / 6.379 GB, free: 213.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009436/12.74, allocations: 237.6 kB / 6.379 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/12.74, allocations: 10.03 kB / 6.379 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008348/12.74, allocations: 40.92 kB / 6.379 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/12.74, allocations: 36.69 kB / 6.38 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-05/12.74, allocations: 22.88 kB / 6.38 GB, free: 213.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006243/12.74, allocations: 366.6 kB / 6.38 GB, free: 213.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002943/12.74, allocations: 0.5515 MB / 6.38 GB, free: 213.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.T,vol1.dynBal.medium.p,vol1.dynBal.medium.Xi[1],vol1.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002258/12.74, allocations: 1.365 MB / 6.382 GB, free: 213.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003515/12.75, allocations: 1.507 MB / 6.383 GB, free: 212.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/12.75, allocations: 1.031 kB / 6.383 GB, free: 212.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/12.75, allocations: 0.5788 MB / 6.384 GB, free: 212.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/12.75, allocations: 431.8 kB / 6.384 GB, free: 212.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/12.75, allocations: 1.522 MB / 6.386 GB, free: 211.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009597/12.76, allocations: 1.1 MB / 6.387 GB, free: 210.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.463e-06/12.76, allocations: 3.469 kB / 6.387 GB, free: 210.8 MB / 0.948 GB Notification: Performance of Templates: time 0.0477/12.8, allocations: 31.18 MB / 6.417 GB, free: 184.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1)