Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") translateModel(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") [: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.001997/0.001997, allocations: 175 kB / 7.459 MB, free: 2.324 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6015/0.6015, allocations: 133.5 MB / 141.4 MB, free: 15.71 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.112/1.112, allocations: 221.3 MB / 395 MB, free: 10.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008213/0.0008213, allocations: 91.42 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.61e-06/5.63e-06, allocations: 2.688 kB / 0.5528 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 82.3 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.206/3.311, allocations: 2.128 GB / 2.761 GB, free: 62.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/3.312, allocations: 89.52 kB / 2.761 GB, free: 62.22 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.381/4.693, allocations: 486.2 MB / 3.236 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001403/4.693, allocations: 39.91 kB / 3.236 GB, free: 124.7 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.003/4.696, allocations: 1.499 MB / 3.238 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/4.696, allocations: 8.031 kB / 3.238 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003087/4.699, allocations: 0.4937 MB / 3.238 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002542/4.702, allocations: 1.373 MB / 3.239 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/4.702, allocations: 32 kB / 3.239 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/4.702, allocations: 63.94 kB / 3.239 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001625/4.704, allocations: 1.183 MB / 3.241 GB, free: 120 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/4.705, allocations: 1.128 MB / 3.242 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/4.705, allocations: 0 / 3.242 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.45e-05/4.705, allocations: 0 / 3.242 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/4.706, allocations: 42 kB / 3.242 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005242/4.711, allocations: 4.813 MB / 3.246 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000911/4.712, allocations: 0.9312 MB / 3.247 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000547/4.712, allocations: 0.5714 MB / 3.248 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/4.713, allocations: 206.3 kB / 3.248 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/4.713, allocations: 43.22 kB / 3.248 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=78): time 2.255e-06/4.713, allocations: 96 / 3.248 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81): time 0.004374/4.717, allocations: 2.546 MB / 3.251 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/4.717, allocations: 64 kB / 3.251 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007611/4.718, allocations: 0.7907 MB / 3.251 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.637e-05/4.718, allocations: 25.7 kB / 3.251 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/4.718, allocations: 391.9 kB / 3.252 GB, free: 108 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000217/4.718, allocations: 279.8 kB / 3.252 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/4.718, allocations: 0 / 3.252 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.388e-05/4.718, allocations: 342 kB / 3.252 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/4.719, allocations: 441.3 kB / 3.253 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/4.719, allocations: 0.5951 MB / 3.253 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005321/4.72, allocations: 0.5508 MB / 3.254 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/4.72, allocations: 4 kB / 3.254 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001317/4.721, allocations: 1.208 MB / 3.255 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001676/4.721, allocations: 1.042 MB / 3.256 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/4.721, allocations: 4 kB / 3.256 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/4.722, allocations: 80.75 kB / 3.256 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009297/4.722, allocations: 179.8 kB / 3.256 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/4.724, allocations: 2.912 MB / 3.259 GB, free: 100 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/4.725, allocations: 99.7 kB / 3.259 GB, free: 99.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.917e-05/4.725, allocations: 36.05 kB / 3.259 GB, free: 99.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-06/4.725, allocations: 8 kB / 3.259 GB, free: 99.86 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001192/4.727, allocations: 1.059 MB / 3.26 GB, free: 98.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/4.727, allocations: 4 kB / 3.26 GB, free: 98.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/4.727, allocations: 73.16 kB / 3.261 GB, free: 98.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/4.727, allocations: 171.7 kB / 3.261 GB, free: 98.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/4.728, allocations: 1.724 MB / 3.262 GB, free: 96.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/4.73, allocations: 107.6 kB / 3.262 GB, free: 96.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/4.73, allocations: 36.05 kB / 3.263 GB, free: 96.58 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001758/4.73, allocations: 112.9 kB / 3.263 GB, free: 96.46 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/4.73, allocations: 110.7 kB / 3.263 GB, free: 96.35 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/4.731, allocations: 1.156 MB / 3.264 GB, free: 95.19 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/4.731, allocations: 8 kB / 3.264 GB, free: 95.18 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/4.731, allocations: 0 / 3.264 GB, free: 95.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00106/4.733, allocations: 1.219 MB / 3.265 GB, free: 93.89 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/4.736, allocations: 2.633 MB / 3.268 GB, free: 91.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/4.736, allocations: 4.25 kB / 3.268 GB, free: 91.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009723/4.737, allocations: 235.6 kB / 3.268 GB, free: 90.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/4.737, allocations: 68.81 kB / 3.268 GB, free: 90.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.75e-05/4.737, allocations: 19.92 kB / 3.268 GB, free: 90.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/4.738, allocations: 2.894 MB / 3.271 GB, free: 87.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/4.738, allocations: 4 kB / 3.271 GB, free: 87.82 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00175/4.74, allocations: 2.04 MB / 3.273 GB, free: 85.69 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/4.74, allocations: 327.7 kB / 3.273 GB, free: 85.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/4.741, allocations: 11.98 kB / 3.273 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009006/4.741, allocations: 83.75 kB / 3.273 GB, free: 85.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.625e-05/4.742, allocations: 56.42 kB / 3.273 GB, free: 85.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.558e-05/4.742, allocations: 35.98 kB / 3.273 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005443/4.742, allocations: 0.6167 MB / 3.274 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001783/4.744, allocations: 0.7187 MB / 3.275 GB, free: 83.82 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00144/4.745, allocations: 1.514 MB / 3.276 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002163/4.748, allocations: 1.851 MB / 3.278 GB, free: 80.55 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/4.748, allocations: 0 / 3.278 GB, free: 80.55 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006429/4.748, allocations: 0.6483 MB / 3.278 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/4.751, allocations: 0.7108 MB / 3.279 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/4.754, allocations: 2.638 MB / 3.282 GB, free: 76.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009299/4.755, allocations: 1.551 MB / 3.283 GB, free: 74.92 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/4.755, allocations: 0 / 3.283 GB, free: 74.92 MB / 0.6823 GB Notification: Performance of Templates: time 0.04188/4.797, allocations: 37.32 MB / 3.32 GB, free: 37.95 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)