Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Annex60.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") [: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/Annex60 1.0.0/package.mo): time 0.2939/0.2939, allocations: 54.39 MB / 61.68 MB, free: 11.16 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001307/0.001307, allocations: 183.1 kB / 75.37 MB, free: 1.516 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.741/1.741, allocations: 194.2 MB / 283.2 MB, free: 3.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001675/0.001675, allocations: 120.2 kB / 341.3 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.074e-06/7.104e-06, allocations: 0 / 404.9 MB, free: 27.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1463, allocations: 57.66 MB / 462.6 MB, free: 2.016 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.523/5.669, allocations: 2.16 GB / 2.612 GB, free: 40.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/5.67, allocations: 87.95 kB / 2.612 GB, free: 40.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.482/7.152, allocations: 413.1 MB / 3.015 GB, free: 25.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001701/7.152, allocations: 24 kB / 3.015 GB, free: 25.15 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.00577/7.158, allocations: 1.566 MB / 3.017 GB, free: 23.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/7.158, allocations: 11.97 kB / 3.017 GB, free: 23.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/7.16, allocations: 294.2 kB / 3.017 GB, free: 23.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002509/7.163, allocations: 0.8868 MB / 3.018 GB, free: 22.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.883e-05/7.163, allocations: 31.98 kB / 3.018 GB, free: 22.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000276/7.163, allocations: 48 kB / 3.018 GB, free: 22.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001926/7.165, allocations: 0.9801 MB / 3.019 GB, free: 21.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/7.167, allocations: 1.019 MB / 3.02 GB, free: 20.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/7.167, allocations: 3.938 kB / 3.02 GB, free: 20.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/7.167, allocations: 4 kB / 3.02 GB, free: 20.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.895e-05/7.167, allocations: 81.94 kB / 3.02 GB, free: 20.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007293/7.174, allocations: 3.795 MB / 3.024 GB, free: 16.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/7.175, allocations: 0.6342 MB / 3.025 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000468/7.176, allocations: 329.5 kB / 3.025 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.058e-05/7.176, allocations: 8.484 kB / 3.025 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/7.176, allocations: 47 kB / 3.025 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=56): time 3.406e-06/7.176, allocations: 0 / 3.025 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=56): time 0.001993/7.178, allocations: 0.683 MB / 3.026 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/7.178, allocations: 107.3 kB / 3.026 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/7.179, allocations: 0.6288 MB / 3.026 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/7.179, allocations: 25.7 kB / 3.026 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/7.18, allocations: 386.9 kB / 3.027 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/7.18, allocations: 193.1 kB / 3.027 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/7.18, allocations: 0 / 3.027 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001766/7.18, allocations: 390.7 kB / 3.027 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/7.181, allocations: 325.5 kB / 3.028 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005318/7.181, allocations: 465.5 kB / 3.028 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00586/7.187, allocations: 1.369 MB / 3.029 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.748e-05/7.187, allocations: 4 kB / 3.029 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.006564/7.194, allocations: 1.865 MB / 3.031 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002386/7.194, allocations: 1.132 MB / 3.032 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/7.194, allocations: 4 kB / 3.032 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/7.194, allocations: 8 kB / 3.032 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000748/7.195, allocations: 163.8 kB / 3.032 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/7.195, allocations: 4 kB / 3.032 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/7.196, allocations: 87.23 kB / 3.033 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/7.196, allocations: 24 kB / 3.033 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/7.196, allocations: 5.094 kB / 3.033 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005746/7.202, allocations: 1.676 MB / 3.034 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/7.202, allocations: 384 / 3.034 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/7.202, allocations: 12 kB / 3.034 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006799/7.203, allocations: 155.8 kB / 3.034 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/7.203, allocations: 4 kB / 3.034 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008825/7.204, allocations: 75.39 kB / 3.034 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/7.204, allocations: 28 kB / 3.034 GB, free: 5.059 MB / 0.4948 GB 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 (93): * Single equations (assignments): 93 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002297/7.204, allocations: 128.6 kB / 3.035 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/7.204, allocations: 87.02 kB / 3.035 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/7.205, allocations: 0.7232 MB / 3.035 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/7.205, allocations: 8 kB / 3.035 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/7.205, allocations: 0 / 3.035 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008247/7.206, allocations: 0.6789 MB / 3.036 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/7.208, allocations: 1.678 MB / 3.038 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/7.208, allocations: 4 kB / 3.038 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006006/7.209, allocations: 119.8 kB / 3.038 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/7.209, allocations: 4 kB / 3.038 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/7.209, allocations: 8 kB / 3.038 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/7.209, allocations: 4 kB / 3.038 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/7.209, allocations: 4.25 kB / 3.038 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001539/7.211, allocations: 1.35 MB / 3.039 GB, free: 60 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2585/7.469, allocations: 258.6 kB / 3.039 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001824/7.469, allocations: 6.484 kB / 3.039 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009146/7.47, allocations: 46.47 kB / 3.039 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/7.47, allocations: 32.45 kB / 3.039 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.209e-05/7.471, allocations: 31.75 kB / 3.039 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0006506/7.471, allocations: 478.9 kB / 3.04 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002943/7.474, allocations: 0.9434 MB / 3.041 GB, free: 117.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (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 (58): * Single equations (assignments): 58 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00352/7.478, allocations: 1.929 MB / 3.043 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001828/7.48, allocations: 1.146 MB / 3.044 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/7.48, allocations: 0 / 3.044 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004647/7.48, allocations: 323.3 kB / 3.044 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/7.482, allocations: 415.7 kB / 3.045 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/7.485, allocations: 1.517 MB / 3.046 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008778/7.486, allocations: 1.213 MB / 3.047 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.293e-06/7.486, allocations: 0 / 3.047 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.0504/7.537, allocations: 32.6 MB / 3.079 GB, free: 115.8 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)