Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.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.CoupledVolumesSpecializedAirPerfectGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas") translateModel(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 190.2 kB / 7.802 MB, free: 2.473 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4534/0.4534, allocations: 90.85 MB / 99.07 MB, free: 14.92 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.232/1.232, allocations: 221.4 MB / 342.7 MB, free: 5.117 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.0009465/0.000947, allocations: 103.2 kB / 415.5 MB, free: 6.398 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.566e-06/8.736e-06, allocations: 4 kB / 493.9 MB, free: 8.039 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3312, allocations: 72.3 MB / 0.5529 GB, free: 73.33 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.995/8.326, allocations: 4.624 GB / 5.176 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/8.326, allocations: 84.97 kB / 5.177 GB, free: 55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.51/9.837, allocations: 0.5017 GB / 5.678 GB, free: 16.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001217/9.837, allocations: 20 kB / 5.678 GB, free: 16.89 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.003241/9.84, allocations: 1.177 MB / 5.679 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/9.84, allocations: 8.031 kB / 5.679 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/9.843, allocations: 346.5 kB / 5.68 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/9.845, allocations: 0.9168 MB / 5.681 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/9.845, allocations: 20 kB / 5.681 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/9.845, allocations: 36 kB / 5.681 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001043/9.846, allocations: 0.5297 MB / 5.681 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/9.847, allocations: 0.5272 MB / 5.682 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/9.847, allocations: 3.906 kB / 5.682 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.23e-05/9.847, allocations: 4 kB / 5.682 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/9.847, allocations: 25.25 kB / 5.682 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00369/9.851, allocations: 2.795 MB / 5.685 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006732/9.852, allocations: 439.7 kB / 5.685 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/9.852, allocations: 233.9 kB / 5.685 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/9.852, allocations: 95.34 kB / 5.685 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/9.852, allocations: 42.47 kB / 5.685 GB, free: 9.352 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 3.317e-06/9.852, allocations: 0 / 5.685 GB, free: 9.352 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.007959/9.86, allocations: 2.515 MB / 5.688 GB, free: 6.781 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/9.86, allocations: 55.91 kB / 5.688 GB, free: 6.715 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006065/9.861, allocations: 478.4 kB / 5.688 GB, free: 6.246 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.294e-05/9.861, allocations: 25.7 kB / 5.688 GB, free: 6.215 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/9.861, allocations: 268.2 kB / 5.689 GB, free: 5.945 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/9.861, allocations: 212.9 kB / 5.689 GB, free: 5.734 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/9.861, allocations: 0 / 5.689 GB, free: 5.734 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001033/9.861, allocations: 374.8 kB / 5.689 GB, free: 5.359 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/9.862, allocations: 257.2 kB / 5.689 GB, free: 5.105 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/9.862, allocations: 358.3 kB / 5.69 GB, free: 4.727 MB / 0.6042 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.005498/9.868, allocations: 1.391 MB / 5.691 GB, free: 3.316 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/9.868, allocations: 0 / 5.691 GB, free: 3.316 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00238/9.87, allocations: 1.012 MB / 5.692 GB, free: 2.297 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/9.87, allocations: 0.6227 MB / 5.693 GB, free: 1.625 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/9.87, allocations: 0 / 5.693 GB, free: 1.625 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001685/9.872, allocations: 442.8 kB / 5.693 GB, free: 1.191 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005288/9.872, allocations: 87.88 kB / 5.693 GB, free: 1.105 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2163/10.09, allocations: 4.385 MB / 5.697 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009341/10.09, allocations: 50.66 kB / 5.697 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.587e-05/10.09, allocations: 21.66 kB / 5.698 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/10.09, allocations: 9.594 kB / 5.698 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00233/10.09, allocations: 0.9162 MB / 5.698 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/10.09, allocations: 0.5 kB / 5.698 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/10.09, allocations: 427 kB / 5.699 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/10.09, allocations: 84.14 kB / 5.699 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005682/10.1, allocations: 3.799 MB / 5.703 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009114/10.1, allocations: 51.44 kB / 5.703 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-05/10.1, allocations: 23.95 kB / 5.703 GB, free: 157.1 MB / 0.6042 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 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.0003077/10.1, allocations: 115.8 kB / 5.703 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/10.1, allocations: 79.78 kB / 5.703 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002519/10.1, allocations: 1.01 MB / 5.704 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/10.1, allocations: 11.42 kB / 5.704 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/10.1, allocations: 3.375 kB / 5.704 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002223/10.11, allocations: 1.219 MB / 5.705 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004101/10.11, allocations: 2.177 MB / 5.707 GB, free: 156.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/10.11, allocations: 0 / 5.707 GB, free: 156.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/10.11, allocations: 68.61 kB / 5.707 GB, free: 156.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00194/10.11, allocations: 450 kB / 5.708 GB, free: 156.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/10.11, allocations: 14.95 kB / 5.708 GB, free: 156.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005524/10.12, allocations: 4.314 MB / 5.712 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/10.12, allocations: 0 / 5.712 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002903/10.12, allocations: 1.457 MB / 5.713 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006065/10.12, allocations: 237.9 kB / 5.714 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/10.12, allocations: 10.09 kB / 5.714 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008233/10.12, allocations: 44.09 kB / 5.714 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/10.12, allocations: 32.56 kB / 5.714 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-05/10.12, allocations: 24.86 kB / 5.714 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004682/10.12, allocations: 370.2 kB / 5.714 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002363/10.13, allocations: 0.5659 MB / 5.715 GB, free: 153.6 MB / 0.6042 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 (37): * Single equations (assignments): 35 * 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 {4 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.00149/10.13, allocations: 1.371 MB / 5.716 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002809/10.13, allocations: 1.426 MB / 5.717 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/10.13, allocations: 0 / 5.717 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/10.13, allocations: 0.5275 MB / 5.718 GB, free: 153 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/10.13, allocations: 427 kB / 5.718 GB, free: 153 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/10.14, allocations: 1.524 MB / 5.72 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007631/10.14, allocations: 1.09 MB / 5.721 GB, free: 152 MB / 0.6042 GB Notification: Performance of SimCode: time 9.82e-07/10.14, allocations: 0 / 5.721 GB, free: 152 MB / 0.6042 GB Notification: Performance of Templates: time 0.04579/10.18, allocations: 30.94 MB / 5.751 GB, free: 151.5 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1)