Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Annex60.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume") [: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.2918/0.2918, allocations: 54.39 MB / 61.67 MB, free: 11.17 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.001341/0.001341, allocations: 189.3 kB / 75.38 MB, free: 1.551 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.865/1.865, allocations: 194.2 MB / 283.2 MB, free: 3.5 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.001955/0.001955, allocations: 122.1 kB / 341.3 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.488e-06/9.508e-06, allocations: 4 kB / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1555, allocations: 57.65 MB / 462.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.038/5.194, allocations: 2.144 GB / 2.596 GB, free: 58.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/5.194, allocations: 93.02 kB / 2.596 GB, free: 58.01 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.922/10.12, allocations: 1.248 GB / 3.844 GB, free: 51.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003851/10.12, allocations: 61.33 kB / 3.844 GB, free: 51.7 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.01043/10.13, allocations: 2.307 MB / 3.846 GB, free: 51 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.177e-05/10.13, allocations: 14.28 kB / 3.846 GB, free: 51 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005465/10.13, allocations: 0.5364 MB / 3.846 GB, free: 50.88 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007168/10.14, allocations: 1.494 MB / 3.848 GB, free: 50.55 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/10.14, allocations: 127.8 kB / 3.848 GB, free: 50.48 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009865/10.14, allocations: 104 kB / 3.848 GB, free: 50.48 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004904/10.15, allocations: 1.384 MB / 3.849 GB, free: 50.47 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006151/10.15, allocations: 1.6 MB / 3.851 GB, free: 50.29 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.854e-05/10.15, allocations: 12.5 kB / 3.851 GB, free: 50.29 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005549/10.15, allocations: 2.781 kB / 3.851 GB, free: 50.29 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.566e-05/10.15, allocations: 56.95 kB / 3.851 GB, free: 50.29 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01694/10.17, allocations: 7.937 MB / 3.859 GB, free: 46.03 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/10.17, allocations: 0.5913 MB / 3.859 GB, free: 46.01 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009412/10.17, allocations: 0.4972 MB / 3.86 GB, free: 46 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005802/10.17, allocations: 223.2 kB / 3.86 GB, free: 45.81 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.399e-05/10.17, allocations: 49.06 kB / 3.86 GB, free: 45.77 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=103): time 6.172e-06/10.17, allocations: 0 / 3.86 GB, free: 45.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=109): time 0.01281/10.19, allocations: 3.22 MB / 3.863 GB, free: 45.16 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/10.19, allocations: 67.5 kB / 3.863 GB, free: 45.09 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003035/10.19, allocations: 0.9555 MB / 3.864 GB, free: 44.94 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003405/10.19, allocations: 25.7 kB / 3.864 GB, free: 44.91 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008601/10.19, allocations: 0.6393 MB / 3.865 GB, free: 44.62 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006322/10.19, allocations: 386 kB / 3.865 GB, free: 44.37 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/10.19, allocations: 0 / 3.865 GB, free: 44.37 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002451/10.19, allocations: 361 kB / 3.866 GB, free: 44.06 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009477/10.19, allocations: 460.6 kB / 3.866 GB, free: 44.06 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/10.19, allocations: 0.8015 MB / 3.867 GB, free: 43.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/10.2, allocations: 0.6762 MB / 3.868 GB, free: 43.62 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.241e-05/10.2, allocations: 2.188 kB / 3.868 GB, free: 43.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.004009/10.2, allocations: 1.475 MB / 3.869 GB, free: 43.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001573/10.2, allocations: 3.275 MB / 3.872 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.19e-05/10.2, allocations: 13.66 kB / 3.872 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-05/10.2, allocations: 13.84 kB / 3.872 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/10.2, allocations: 397.3 kB / 3.873 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.065e-05/10.2, allocations: 23.64 kB / 3.873 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003044/10.21, allocations: 246.8 kB / 3.873 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/10.21, allocations: 56.77 kB / 3.873 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/10.21, allocations: 4.562 kB / 3.873 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002303/10.21, allocations: 1.214 MB / 3.874 GB, free: 40.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/10.21, allocations: 8.844 kB / 3.874 GB, free: 40.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/10.21, allocations: 22.38 kB / 3.874 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/10.21, allocations: 296.8 kB / 3.874 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.386e-05/10.21, allocations: 19.25 kB / 3.874 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/10.21, allocations: 149.3 kB / 3.875 GB, free: 40.06 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/10.21, allocations: 55.53 kB / 3.875 GB, free: 40.06 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 5 (vol2.i_w,vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 1 * 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.000509/10.21, allocations: 138 kB / 3.875 GB, free: 39.95 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000672/10.21, allocations: 164.7 kB / 3.875 GB, free: 39.87 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003074/10.22, allocations: 1.212 MB / 3.876 GB, free: 39.79 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/10.22, allocations: 13.97 kB / 3.876 GB, free: 39.79 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/10.22, allocations: 0 / 3.876 GB, free: 39.79 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001969/10.22, allocations: 1.142 MB / 3.877 GB, free: 39.52 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007206/10.23, allocations: 2.681 MB / 3.88 GB, free: 39.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/10.23, allocations: 3.719 kB / 3.88 GB, free: 39.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001971/10.23, allocations: 356.2 kB / 3.88 GB, free: 39.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.304e-05/10.23, allocations: 10.28 kB / 3.88 GB, free: 39.18 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/10.23, allocations: 21.5 kB / 3.88 GB, free: 39.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/10.23, allocations: 3.469 kB / 3.88 GB, free: 39.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/10.23, allocations: 0 / 3.88 GB, free: 39.18 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003803/10.23, allocations: 1.918 MB / 3.882 GB, free: 38.83 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/10.23, allocations: 366.3 kB / 3.882 GB, free: 38.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006896/10.23, allocations: 10.22 kB / 3.882 GB, free: 38.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002745/10.24, allocations: 218.5 kB / 3.883 GB, free: 38.65 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/10.24, allocations: 59.91 kB / 3.883 GB, free: 38.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002185/10.24, allocations: 53.97 kB / 3.883 GB, free: 38.65 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001817/10.24, allocations: 0.7065 MB / 3.883 GB, free: 38.54 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005791/10.25, allocations: 0.9854 MB / 3.884 GB, free: 38.53 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 109 * 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.007502/10.25, allocations: 3.333 MB / 3.888 GB, free: 37.29 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004744/10.26, allocations: 1.85 MB / 3.889 GB, free: 37.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/10.26, allocations: 2.469 kB / 3.889 GB, free: 37.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/10.26, allocations: 0.5209 MB / 3.89 GB, free: 37.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006639/10.27, allocations: 0.8295 MB / 3.891 GB, free: 37.18 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/10.28, allocations: 3.075 MB / 3.894 GB, free: 36.49 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003709/10.28, allocations: 1.703 MB / 3.895 GB, free: 35.75 MB / 0.5417 GB Notification: Performance of SimCode: time 1.623e-06/10.28, allocations: 0 / 3.895 GB, free: 35.75 MB / 0.5417 GB Notification: Performance of Templates: time 0.1138/10.39, allocations: 52.44 MB / 3.947 GB, free: 33.06 MB / 0.5417 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)