Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [: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.001869/0.00187, allocations: 179.1 kB / 7.455 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.6266/0.6266, allocations: 133.5 MB / 141.4 MB, free: 15.79 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.201/1.201, 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.0009494/0.0009494, allocations: 89.53 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.095e-05/1.11e-05, allocations: 3.031 kB / 0.5528 GB, free: 88.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1431, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.656/2.8, allocations: 1.88 GB / 2.513 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/2.8, allocations: 87.95 kB / 2.513 GB, free: 82.15 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.6321/3.432, allocations: 262 MB / 2.769 GB, free: 95.29 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.313e-05/3.432, allocations: 15.98 kB / 2.769 GB, free: 95.27 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001079/3.433, allocations: 0.7755 MB / 2.77 GB, free: 94.45 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/3.433, allocations: 12.03 kB / 2.77 GB, free: 94.44 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/3.434, allocations: 187.1 kB / 2.77 GB, free: 94.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007314/3.435, allocations: 0.5196 MB / 2.771 GB, free: 93.69 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/3.435, allocations: 12 kB / 2.771 GB, free: 93.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.715e-05/3.435, allocations: 28 kB / 2.771 GB, free: 93.65 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005154/3.436, allocations: 373.8 kB / 2.771 GB, free: 93.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005519/3.436, allocations: 452 kB / 2.771 GB, free: 92.83 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/3.436, allocations: 4 kB / 2.772 GB, free: 92.83 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/3.436, allocations: 4 kB / 2.772 GB, free: 92.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/3.436, allocations: 13 kB / 2.772 GB, free: 92.81 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/3.438, allocations: 1.617 MB / 2.773 GB, free: 91.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/3.438, allocations: 295 kB / 2.773 GB, free: 90.78 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/3.439, allocations: 173.2 kB / 2.774 GB, free: 90.61 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/3.439, allocations: 101.1 kB / 2.774 GB, free: 90.49 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/3.439, allocations: 38.56 kB / 2.774 GB, free: 90.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.453e-06/3.439, allocations: 3.938 kB / 2.774 GB, free: 90.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001431/3.44, allocations: 0.8947 MB / 2.775 GB, free: 89.49 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.283e-05/3.44, allocations: 55.41 kB / 2.775 GB, free: 89.42 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/3.44, allocations: 286.1 kB / 2.775 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/3.44, allocations: 33.7 kB / 2.775 GB, free: 89.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/3.441, allocations: 212 kB / 2.775 GB, free: 88.89 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/3.441, allocations: 114.3 kB / 2.775 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/3.441, allocations: 0 / 2.775 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.335e-05/3.441, allocations: 350.8 kB / 2.776 GB, free: 88.42 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/3.441, allocations: 112 kB / 2.776 GB, free: 88.31 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/3.441, allocations: 203.6 kB / 2.776 GB, free: 88.09 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 (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/3.442, allocations: 0.5545 MB / 2.776 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/3.442, allocations: 0 / 2.776 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000421/3.443, allocations: 368.8 kB / 2.777 GB, free: 87.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/3.443, allocations: 8 kB / 2.777 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/3.443, allocations: 4.188 kB / 2.777 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/3.443, allocations: 4 kB / 2.777 GB, free: 87.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/3.443, allocations: 71.91 kB / 2.777 GB, free: 87.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/3.443, allocations: 7.906 kB / 2.777 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003671/3.443, allocations: 15.92 kB / 2.777 GB, free: 87.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/3.443, allocations: 19.94 kB / 2.777 GB, free: 87.02 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: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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 7.849e-05/3.444, allocations: 120.8 kB / 2.777 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.644e-05/3.444, allocations: 39.53 kB / 2.777 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.48e-05/3.444, allocations: 52.25 kB / 2.777 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/3.444, allocations: 4 kB / 2.777 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/3.444, allocations: 0 / 2.777 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003198/3.444, allocations: 384.4 kB / 2.777 GB, free: 86.39 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/3.445, allocations: 1.156 MB / 2.779 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/3.445, allocations: 4 kB / 2.779 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/3.446, allocations: 83.83 kB / 2.779 GB, free: 85.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/3.446, allocations: 8 kB / 2.779 GB, free: 85.05 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/3.446, allocations: 4 kB / 2.779 GB, free: 85.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/3.446, allocations: 11.91 kB / 2.779 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/3.446, allocations: 8.406 kB / 2.779 GB, free: 85.03 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00059/3.446, allocations: 0.8761 MB / 2.78 GB, free: 83.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/3.446, allocations: 160.6 kB / 2.78 GB, free: 83.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.319e-05/3.447, allocations: 7.984 kB / 2.78 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/3.447, allocations: 27.95 kB / 2.78 GB, free: 83.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/3.447, allocations: 27.88 kB / 2.78 GB, free: 83.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/3.447, allocations: 16 kB / 2.78 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001693/3.447, allocations: 232.5 kB / 2.78 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005442/3.448, allocations: 199.9 kB / 2.78 GB, free: 83.31 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.00094/3.449, allocations: 1.077 MB / 2.781 GB, free: 82.24 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003703/3.449, allocations: 300.8 kB / 2.782 GB, free: 81.95 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/3.449, allocations: 4 kB / 2.782 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/3.449, allocations: 158.7 kB / 2.782 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/3.45, allocations: 258.5 kB / 2.782 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/3.451, allocations: 0.8348 MB / 2.783 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003526/3.452, allocations: 0.936 MB / 2.784 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/3.452, allocations: 0 / 2.784 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of Templates: time 0.01641/3.468, allocations: 13.64 MB / 2.797 GB, free: 66.14 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)