Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 183.2 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6021/0.6021, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.164/1.164, allocations: 221.3 MB / 395 MB, free: 10.21 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.0009436/0.0009436, allocations: 98.59 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.805e-06/7.935e-06, allocations: 2.719 kB / 0.5528 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1293, allocations: 82.3 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.828/2.957, allocations: 1.894 GB / 2.527 GB, free: 33.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001823/2.957, allocations: 86.64 kB / 2.527 GB, free: 33.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.371/6.328, allocations: 1.355 GB / 3.883 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002021/6.329, allocations: 55.97 kB / 3.883 GB, free: 17.15 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.00474/6.333, allocations: 2.183 MB / 3.885 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/6.334, allocations: 8.031 kB / 3.885 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003158/6.337, allocations: 0.532 MB / 3.885 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002981/6.34, allocations: 1.457 MB / 3.887 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.195e-05/6.34, allocations: 122.2 kB / 3.887 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/6.34, allocations: 95.98 kB / 3.887 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001762/6.342, allocations: 1.22 MB / 3.888 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/6.344, allocations: 1.483 MB / 3.89 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.559e-05/6.344, allocations: 7.844 kB / 3.89 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/6.344, allocations: 4 kB / 3.89 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/6.344, allocations: 62.69 kB / 3.89 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006515/6.35, allocations: 8.21 MB / 3.898 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006271/6.351, allocations: 0.5588 MB / 3.898 GB, free: 336 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000575/6.352, allocations: 0.4966 MB / 3.899 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006376/6.352, allocations: 409.1 kB / 3.899 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.522e-05/6.352, allocations: 51.33 kB / 3.899 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=96): time 2.274e-06/6.352, allocations: 0 / 3.899 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=102): time 0.005616/6.358, allocations: 2.646 MB / 3.902 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/6.358, allocations: 64.41 kB / 3.902 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/6.359, allocations: 0.906 MB / 3.903 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.13e-05/6.359, allocations: 25.7 kB / 3.903 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/6.36, allocations: 0.5859 MB / 3.903 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/6.36, allocations: 354.8 kB / 3.904 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/6.36, allocations: 0 / 3.904 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001273/6.36, allocations: 357.8 kB / 3.904 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005658/6.361, allocations: 386.5 kB / 3.904 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008219/6.361, allocations: 0.7678 MB / 3.905 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008697/6.362, allocations: 0.5632 MB / 3.906 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/6.362, allocations: 4 kB / 3.906 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001908/6.364, allocations: 1.283 MB / 3.907 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001213/6.365, allocations: 3.639 MB / 3.911 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/6.365, allocations: 12 kB / 3.911 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/6.365, allocations: 16 kB / 3.911 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/6.367, allocations: 275.6 kB / 3.911 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/6.367, allocations: 23.92 kB / 3.911 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/6.368, allocations: 143.6 kB / 3.911 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/6.368, allocations: 55.98 kB / 3.911 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.6e-06/6.368, allocations: 11.94 kB / 3.911 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001634/6.37, allocations: 1.079 MB / 3.912 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/6.37, allocations: 9 kB / 3.912 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/6.37, allocations: 23.91 kB / 3.912 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/6.371, allocations: 287.5 kB / 3.912 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/6.371, allocations: 19.94 kB / 3.912 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/6.372, allocations: 151.5 kB / 3.913 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.252e-05/6.373, allocations: 52 kB / 3.913 GB, free: 1.094 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (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 (150): * Single equations (assignments): 150 * 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.0002077/6.373, allocations: 140.7 kB / 3.913 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/6.373, allocations: 158.1 kB / 3.913 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.228/6.601, allocations: 1.078 MB / 3.914 GB, free: 137.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/6.601, allocations: 7.938 kB / 3.914 GB, free: 137.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/6.601, allocations: 3.938 kB / 3.914 GB, free: 137.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001166/6.602, allocations: 1.021 MB / 3.915 GB, free: 137.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003588/6.606, allocations: 2.55 MB / 3.918 GB, free: 137.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/6.606, allocations: 3.875 kB / 3.918 GB, free: 137.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/6.607, allocations: 259.7 kB / 3.918 GB, free: 137.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/6.607, allocations: 3.719 kB / 3.918 GB, free: 137.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.06e-05/6.607, allocations: 22.05 kB / 3.918 GB, free: 137.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/6.607, allocations: 3.5 kB / 3.918 GB, free: 137.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/6.607, allocations: 11.09 kB / 3.918 GB, free: 137.1 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00179/6.609, allocations: 1.82 MB / 3.92 GB, free: 136.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004827/6.609, allocations: 325.9 kB / 3.92 GB, free: 136.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/6.61, allocations: 12.83 kB / 3.92 GB, free: 136.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/6.611, allocations: 128.2 kB / 3.92 GB, free: 136.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.694e-05/6.611, allocations: 59.44 kB / 3.92 GB, free: 136.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.794e-05/6.611, allocations: 43.56 kB / 3.92 GB, free: 136.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0006294/6.612, allocations: 0.6684 MB / 3.921 GB, free: 136.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002056/6.614, allocations: 0.926 MB / 3.922 GB, free: 136.5 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 102 * 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.003007/6.617, allocations: 3.338 MB / 3.925 GB, free: 135.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001805/6.619, allocations: 1.614 MB / 3.927 GB, free: 135.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/6.619, allocations: 0 / 3.927 GB, free: 135.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004969/6.619, allocations: 485.7 kB / 3.927 GB, free: 135.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/6.623, allocations: 0.8307 MB / 3.928 GB, free: 135.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/6.627, allocations: 2.774 MB / 3.931 GB, free: 134.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/6.628, allocations: 1.617 MB / 3.932 GB, free: 133.9 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/6.628, allocations: 0 / 3.932 GB, free: 133.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.06142/6.689, allocations: 48.87 MB / 3.98 GB, free: 133.1 MB / 0.7292 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)