Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") translateModel(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") [: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.001044/0.001045, allocations: 192.4 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.448/0.448, allocations: 90.85 MB / 99.07 MB, free: 14.98 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.212/1.212, allocations: 221.4 MB / 342.8 MB, free: 5.227 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.0009206/0.0009206, allocations: 91.22 kB / 415.5 MB, free: 9.883 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.654e-06/7.674e-06, allocations: 4 kB / 493.9 MB, free: 11.61 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3111, allocations: 72.29 MB / 0.5529 GB, free: 44.83 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8484/1.16, allocations: 484.9 MB / 1.026 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/1.16, allocations: 85.7 kB / 1.026 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.452/2.612, allocations: 0.5463 GB / 1.573 GB, free: 76.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.883e-05/2.612, allocations: 19.94 kB / 1.573 GB, free: 76.58 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003027/2.615, allocations: 1.163 MB / 1.574 GB, free: 75.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/2.615, allocations: 8.031 kB / 1.574 GB, free: 75.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/2.617, allocations: 139 kB / 1.574 GB, free: 75.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/2.627, allocations: 4.305 MB / 1.578 GB, free: 70.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/2.627, allocations: 15.94 kB / 1.578 GB, free: 70.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/2.627, allocations: 28 kB / 1.578 GB, free: 70.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006793/2.628, allocations: 289.9 kB / 1.579 GB, free: 70.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000779/2.629, allocations: 454.1 kB / 1.579 GB, free: 70.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/2.629, allocations: 3.938 kB / 1.579 GB, free: 70.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.471e-05/2.629, allocations: 4 kB / 1.579 GB, free: 70.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/2.629, allocations: 11.91 kB / 1.579 GB, free: 70.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002883/2.632, allocations: 2.21 MB / 1.581 GB, free: 67.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/2.632, allocations: 189.7 kB / 1.581 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/2.632, allocations: 127 kB / 1.582 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/2.633, allocations: 2.294 MB / 1.584 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/2.633, allocations: 42.56 kB / 1.584 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/2.633, allocations: 0 / 1.584 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43): time 0.005872/2.639, allocations: 1.757 MB / 1.586 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/2.639, allocations: 59.41 kB / 1.586 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005397/2.64, allocations: 418.2 kB / 1.586 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/2.64, allocations: 29.64 kB / 1.586 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/2.64, allocations: 248.3 kB / 1.586 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/2.64, allocations: 141.9 kB / 1.586 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/2.64, allocations: 0 / 1.586 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.854e-05/2.64, allocations: 366.7 kB / 1.587 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/2.64, allocations: 141 kB / 1.587 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/2.641, allocations: 254.1 kB / 1.587 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009325/2.642, allocations: 254.1 kB / 1.587 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/2.642, allocations: 0 / 1.587 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001751/2.643, allocations: 0.651 MB / 1.588 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002099/2.644, allocations: 1.138 MB / 1.589 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/2.644, allocations: 3.984 kB / 1.589 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005249/2.644, allocations: 182.5 kB / 1.589 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/2.644, allocations: 71.84 kB / 1.589 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/2.646, allocations: 1.411 MB / 1.591 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004995/2.646, allocations: 31.88 kB / 1.591 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.995e-05/2.646, allocations: 40.08 kB / 1.591 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.383e-06/2.646, allocations: 4 kB / 1.591 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001434/2.648, allocations: 0.5607 MB / 1.591 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/2.648, allocations: 4 kB / 1.591 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004347/2.648, allocations: 174.5 kB / 1.591 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/2.648, allocations: 71.84 kB / 1.592 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/2.649, allocations: 1.419 MB / 1.593 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004663/2.65, allocations: 31.94 kB / 1.593 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/2.65, allocations: 40 kB / 1.593 GB, free: 54.83 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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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.0002081/2.65, allocations: 126.7 kB / 1.593 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003438/2.651, allocations: 83.16 kB / 1.593 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/2.653, allocations: 0.8979 MB / 1.594 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/2.653, allocations: 8 kB / 1.594 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/2.653, allocations: 0 / 1.594 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001459/2.654, allocations: 0.7869 MB / 1.595 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002737/2.657, allocations: 1.494 MB / 1.596 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/2.657, allocations: 0 / 1.596 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/2.657, allocations: 51.91 kB / 1.596 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004519/2.658, allocations: 169.6 kB / 1.597 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/2.658, allocations: 8 kB / 1.597 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/2.659, allocations: 1.413 MB / 1.598 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/2.659, allocations: 0 / 1.598 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001955/2.661, allocations: 1.057 MB / 1.599 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/2.661, allocations: 212.2 kB / 1.599 GB, free: 48.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/2.661, allocations: 4 kB / 1.599 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/2.662, allocations: 23.83 kB / 1.599 GB, free: 48.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/2.662, allocations: 32.02 kB / 1.599 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/2.662, allocations: 27.98 kB / 1.599 GB, free: 48.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003678/2.662, allocations: 318.9 kB / 1.6 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001954/2.664, allocations: 0.5386 MB / 1.6 GB, free: 47.38 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T_degC,vol1.dynBal.medium.T_degC) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001775/2.666, allocations: 0.6482 MB / 1.601 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0014/2.668, allocations: 0.7342 MB / 1.601 GB, free: 46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/2.668, allocations: 0 / 1.601 GB, free: 46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004919/2.668, allocations: 281 kB / 1.602 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/2.67, allocations: 296.2 kB / 1.602 GB, free: 45.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/2.672, allocations: 0.9778 MB / 1.603 GB, free: 44.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006443/2.672, allocations: 1.036 MB / 1.604 GB, free: 43.37 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/2.672, allocations: 3.938 kB / 1.604 GB, free: 43.37 MB / 0.6042 GB Notification: Performance of Templates: time 0.03016/2.702, allocations: 19.57 MB / 1.623 GB, free: 23.95 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)