Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesAir.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.Validation.CoupledVolumesAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesAir") translateModel(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesAir") [: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.003287/0.003293, allocations: 186.5 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6105/0.6105, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.126/1.126, allocations: 221.3 MB / 395 MB, free: 10.23 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.0009018/0.0009018, allocations: 99.17 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.931e-06/5.972e-06, allocations: 2.812 kB / 0.5528 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 82.3 MB / 0.6332 GB, free: 14.13 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.017/3.121, allocations: 2.127 GB / 2.761 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/3.122, allocations: 91.27 kB / 2.761 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.371/4.492, allocations: 489.8 MB / 3.239 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001105/4.492, allocations: 21.19 kB / 3.239 GB, free: 145.6 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.002767/4.495, allocations: 1.077 MB / 3.24 GB, free: 145 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/4.495, allocations: 8.625 kB / 3.24 GB, free: 145 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/4.498, allocations: 320.2 kB / 3.24 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/4.5, allocations: 0.7791 MB / 3.241 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/4.5, allocations: 18.31 kB / 3.241 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/4.5, allocations: 41.03 kB / 3.241 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001064/4.501, allocations: 0.4961 MB / 3.242 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009264/4.502, allocations: 0.5164 MB / 3.242 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/4.502, allocations: 4.969 kB / 3.242 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.451e-05/4.502, allocations: 1.219 kB / 3.242 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/4.502, allocations: 24.92 kB / 3.242 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003586/4.506, allocations: 2.667 MB / 3.245 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005533/4.506, allocations: 425.2 kB / 3.245 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/4.507, allocations: 251 kB / 3.245 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/4.507, allocations: 114 kB / 3.246 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/4.507, allocations: 38.84 kB / 3.246 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 2.465e-06/4.507, allocations: 0 / 3.246 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.00291/4.51, allocations: 1.3 MB / 3.247 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/4.51, allocations: 57.31 kB / 3.247 GB, free: 141 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005353/4.51, allocations: 436.7 kB / 3.247 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/4.51, allocations: 26.77 kB / 3.247 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/4.51, allocations: 269.1 kB / 3.248 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/4.511, allocations: 169.6 kB / 3.248 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/4.511, allocations: 1.156 kB / 3.248 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001124/4.511, allocations: 370.4 kB / 3.248 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/4.511, allocations: 176.3 kB / 3.248 GB, free: 140 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/4.511, allocations: 280.7 kB / 3.249 GB, free: 139.9 MB / 0.6823 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 (vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/4.514, allocations: 0.7848 MB / 3.249 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/4.514, allocations: 0 / 3.249 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009401/4.515, allocations: 0.5616 MB / 3.25 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/4.515, allocations: 0.7016 MB / 3.251 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/4.515, allocations: 5.969 kB / 3.251 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001554/4.515, allocations: 33.81 kB / 3.251 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/4.516, allocations: 109.7 kB / 3.251 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/4.517, allocations: 2.029 MB / 3.253 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007961/4.518, allocations: 41.88 kB / 3.253 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.275e-05/4.518, allocations: 18.45 kB / 3.253 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/4.518, allocations: 6.672 kB / 3.253 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007875/4.519, allocations: 473.9 kB / 3.253 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/4.519, allocations: 1.641 kB / 3.253 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001091/4.519, allocations: 41.03 kB / 3.253 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004148/4.519, allocations: 97.16 kB / 3.253 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009181/4.52, allocations: 1.429 MB / 3.255 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/4.521, allocations: 47.23 kB / 3.255 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.274e-05/4.521, allocations: 18.86 kB / 3.255 GB, free: 135 MB / 0.6823 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001581/4.521, allocations: 119 kB / 3.255 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/4.521, allocations: 73.59 kB / 3.255 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009206/4.522, allocations: 0.5327 MB / 3.255 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/4.522, allocations: 5.734 kB / 3.255 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/4.522, allocations: 1.438 kB / 3.255 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007519/4.523, allocations: 0.76 MB / 3.256 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/4.525, allocations: 1.451 MB / 3.258 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/4.525, allocations: 0 / 3.258 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006358/4.526, allocations: 131.4 kB / 3.258 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/4.526, allocations: 41.48 kB / 3.258 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/4.526, allocations: 6.875 kB / 3.258 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009275/4.527, allocations: 1.891 MB / 3.26 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/4.527, allocations: 1.531 kB / 3.26 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0013/4.528, allocations: 0.9608 MB / 3.261 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/4.529, allocations: 196.2 kB / 3.261 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/4.529, allocations: 7.75 kB / 3.261 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006514/4.529, allocations: 41 kB / 3.261 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/4.529, allocations: 28.78 kB / 3.261 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/4.53, allocations: 19.7 kB / 3.261 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003621/4.53, allocations: 330.3 kB / 3.261 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001479/4.531, allocations: 450.8 kB / 3.262 GB, free: 130.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001736/4.533, allocations: 1.376 MB / 3.263 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001596/4.535, allocations: 0.9675 MB / 3.264 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/4.535, allocations: 0 / 3.264 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005097/4.535, allocations: 359.1 kB / 3.264 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/4.537, allocations: 415.6 kB / 3.265 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/4.54, allocations: 1.294 MB / 3.266 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008427/4.541, allocations: 1.083 MB / 3.267 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of SimCode: time 3.91e-07/4.541, allocations: 0.75 kB / 3.267 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.03158/4.572, allocations: 23.45 MB / 3.29 GB, free: 105.6 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesAir.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesAir.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe 2>&1)