Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.8388/0.8388, allocations: 141.8 MB / 149.1 MB, free: 7.637 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001265, allocations: 171.8 kB / 181.9 MB, free: 4.965 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 221.3 MB / 436 MB, free: 12.75 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009905/0.0009904, allocations: 96.27 kB / 0.507 GB, free: 6.184 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001912/0.001912, allocations: 286.1 kB / 0.5884 GB, free: 2.977 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 9.117e-06/9.137e-06, allocations: 1.031 kB / 0.6759 GB, free: 164.5 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1949, allocations: 82.79 MB / 0.7567 GB, free: 110.3 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.58/10.77, allocations: 4.63 GB / 5.387 GB, free: 246.8 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/10.77, allocations: 86.08 kB / 5.387 GB, free: 246.8 MB / 0.7138 GB Notification: Performance of FrontEnd: time 1.525/12.3, allocations: 0.4923 GB / 5.879 GB, free: 23.84 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0001375/12.3, allocations: 23.98 kB / 5.879 GB, free: 23.81 MB / 0.7138 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.003727/12.3, allocations: 1.18 MB / 5.881 GB, free: 22.59 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/12.3, allocations: 8.031 kB / 5.881 GB, free: 22.58 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002819/12.3, allocations: 338.5 kB / 5.881 GB, free: 22.25 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/12.31, allocations: 0.8935 MB / 5.882 GB, free: 21.3 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/12.31, allocations: 20 kB / 5.882 GB, free: 21.29 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/12.31, allocations: 40 kB / 5.882 GB, free: 21.25 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001162/12.31, allocations: 0.5219 MB / 5.882 GB, free: 20.73 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009044/12.31, allocations: 0.5233 MB / 5.883 GB, free: 20.2 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/12.31, allocations: 4 kB / 5.883 GB, free: 20.19 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.77e-05/12.31, allocations: 3.984 kB / 5.883 GB, free: 20.19 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/12.31, allocations: 29.16 kB / 5.883 GB, free: 20.16 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003514/12.31, allocations: 2.703 MB / 5.886 GB, free: 17.23 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005691/12.31, allocations: 416.6 kB / 5.886 GB, free: 16.82 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/12.31, allocations: 238.4 kB / 5.886 GB, free: 16.58 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/12.31, allocations: 101.5 kB / 5.886 GB, free: 16.46 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/12.31, allocations: 42.88 kB / 5.886 GB, free: 16.41 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=45): time 4.549e-06/12.31, allocations: 3.984 kB / 5.886 GB, free: 16.41 MB / 0.7138 GB Notification: Performance of matching and sorting (n=63): time 0.008234/12.32, allocations: 2.674 MB / 5.889 GB, free: 13.68 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/12.32, allocations: 60.06 kB / 5.889 GB, free: 13.61 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000659/12.32, allocations: 462.4 kB / 5.889 GB, free: 13.14 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 6.644e-05/12.32, allocations: 29.7 kB / 5.889 GB, free: 13.11 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/12.32, allocations: 280.1 kB / 5.89 GB, free: 12.83 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/12.32, allocations: 216.8 kB / 5.89 GB, free: 12.61 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/12.32, allocations: 0 / 5.89 GB, free: 12.61 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0001041/12.32, allocations: 374.8 kB / 5.89 GB, free: 12.24 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003582/12.32, allocations: 269.2 kB / 5.891 GB, free: 11.98 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/12.32, allocations: 380.1 kB / 5.891 GB, free: 11.57 MB / 0.7138 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.005396/12.33, allocations: 1.426 MB / 5.892 GB, free: 10.12 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/12.33, allocations: 4 kB / 5.892 GB, free: 10.12 MB / 0.7138 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002562/12.33, allocations: 1.054 MB / 5.893 GB, free: 9.055 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001881/12.33, allocations: 0.6189 MB / 5.894 GB, free: 8.391 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/12.33, allocations: 4 kB / 5.894 GB, free: 8.387 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/12.33, allocations: 464.5 kB / 5.894 GB, free: 7.93 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/12.33, allocations: 91.88 kB / 5.894 GB, free: 7.84 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006083/12.34, allocations: 4.572 MB / 5.899 GB, free: 3.129 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/12.34, allocations: 55.8 kB / 5.899 GB, free: 3.074 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.471e-05/12.34, allocations: 20 kB / 5.899 GB, free: 3.055 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/12.34, allocations: 4 kB / 5.899 GB, free: 3.051 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002292/12.34, allocations: 0.9632 MB / 5.9 GB, free: 2.082 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/12.34, allocations: 0 / 5.9 GB, free: 2.082 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/12.34, allocations: 469.4 kB / 5.9 GB, free: 1.621 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/12.34, allocations: 71.91 kB / 5.9 GB, free: 1.551 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4131/12.76, allocations: 3.975 MB / 5.904 GB, free: 188 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/12.76, allocations: 50.17 kB / 5.904 GB, free: 188 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/12.76, allocations: 18.81 kB / 5.904 GB, free: 188 MB / 0.7138 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.0003251/12.76, allocations: 137.5 kB / 5.905 GB, free: 187.9 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/12.76, allocations: 71.38 kB / 5.905 GB, free: 187.9 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002598/12.76, allocations: 1.059 MB / 5.906 GB, free: 187.9 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/12.76, allocations: 7.719 kB / 5.906 GB, free: 187.9 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/12.76, allocations: 3.891 kB / 5.906 GB, free: 187.9 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00229/12.76, allocations: 1.254 MB / 5.907 GB, free: 187.4 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004333/12.77, allocations: 2.251 MB / 5.909 GB, free: 187.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/12.77, allocations: 0 / 5.909 GB, free: 187.1 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/12.77, allocations: 67.94 kB / 5.909 GB, free: 187.1 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/12.77, allocations: 476.2 kB / 5.91 GB, free: 187.1 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.023e-05/12.77, allocations: 15.69 kB / 5.91 GB, free: 187.1 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006094/12.78, allocations: 4.372 MB / 5.914 GB, free: 185.2 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/12.78, allocations: 2.906 kB / 5.914 GB, free: 185.2 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002908/12.78, allocations: 1.499 MB / 5.915 GB, free: 185 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005343/12.78, allocations: 245.1 kB / 5.916 GB, free: 184.8 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/12.78, allocations: 14.12 kB / 5.916 GB, free: 184.8 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00076/12.78, allocations: 43.22 kB / 5.916 GB, free: 184.8 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/12.78, allocations: 34.16 kB / 5.916 GB, free: 184.8 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/12.78, allocations: 26.45 kB / 5.916 GB, free: 184.8 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0004645/12.78, allocations: 362.4 kB / 5.916 GB, free: 184.7 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.002278/12.78, allocations: 0.5508 MB / 5.917 GB, free: 184.7 MB / 0.7138 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.002048/12.79, allocations: 1.364 MB / 5.918 GB, free: 184.5 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.003514/12.79, allocations: 1.518 MB / 5.919 GB, free: 184.2 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/12.79, allocations: 6.719 kB / 5.919 GB, free: 184.2 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/12.79, allocations: 0.5694 MB / 5.92 GB, free: 184.1 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/12.79, allocations: 424.8 kB / 5.92 GB, free: 184.1 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/12.8, allocations: 1.527 MB / 5.922 GB, free: 183.8 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008215/12.8, allocations: 1.101 MB / 5.923 GB, free: 183.1 MB / 0.7138 GB Notification: Performance of SimCode: time 2.745e-06/12.8, allocations: 0 / 5.923 GB, free: 183.1 MB / 0.7138 GB Notification: Performance of Templates: time 0.04511/12.84, allocations: 31.23 MB / 5.953 GB, free: 182.6 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1)