Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [: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 3.2.1+maint.om/package.mo): time 0.00656/0.00656, allocations: 173.5 kB / 7.449 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.798/1.798, allocations: 170.6 MB / 178.4 MB, free: 15.46 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00196/0.00196, allocations: 100.6 kB / 217.7 MB, free: 8.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2216/0.2216, allocations: 37.97 MB / 294.8 MB, free: 9.637 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.047e-05/1.058e-05, allocations: 1.344 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1308, allocations: 48.71 MB / 398.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8544/0.9853, allocations: 290 MB / 0.6721 GB, free: 118.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.9856, allocations: 83 kB / 0.6721 GB, free: 118.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.5912/1.577, allocations: 149.7 MB / 0.8184 GB, free: 102.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.088e-05/1.577, allocations: 29.88 kB / 0.8184 GB, free: 102.3 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.00353/1.581, allocations: 1.071 MB / 0.8194 GB, free: 101.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/1.581, allocations: 10.2 kB / 0.8195 GB, free: 101.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/1.582, allocations: 120.5 kB / 0.8196 GB, free: 101.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/1.584, allocations: 0.6335 MB / 0.8202 GB, free: 101.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/1.584, allocations: 221.2 kB / 0.8204 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000297/1.584, allocations: 48.91 kB / 0.8204 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001963/1.586, allocations: 0.8247 MB / 0.8213 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/1.589, allocations: 1.161 MB / 0.8224 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.597e-05/1.589, allocations: 10.25 kB / 0.8224 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/1.589, allocations: 7.438 kB / 0.8224 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.525e-05/1.589, allocations: 41.86 kB / 0.8224 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007525/1.597, allocations: 6.762 MB / 0.829 GB, free: 96.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/1.597, allocations: 216.8 kB / 0.8293 GB, free: 96.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/1.597, allocations: 130.3 kB / 0.8294 GB, free: 96.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002729/1.6, allocations: 2.723 MB / 0.832 GB, free: 93.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/1.6, allocations: 42.09 kB / 0.8321 GB, free: 93.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 4.008e-06/1.6, allocations: 0 / 0.8321 GB, free: 93.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.00244/1.602, allocations: 0.8124 MB / 0.8329 GB, free: 93.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/1.603, allocations: 54.81 kB / 0.8329 GB, free: 92.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/1.604, allocations: 0.6631 MB / 0.8336 GB, free: 92.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/1.604, allocations: 26.55 kB / 0.8336 GB, free: 92.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000372/1.604, allocations: 0.5767 MB / 0.8342 GB, free: 92.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.458e-05/1.604, allocations: 108.6 kB / 0.8343 GB, free: 92.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/1.604, allocations: 3.344 kB / 0.8343 GB, free: 92.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/1.604, allocations: 386.5 kB / 0.8346 GB, free: 92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/1.605, allocations: 199.2 kB / 0.8348 GB, free: 92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007067/1.605, allocations: 1.011 MB / 0.8358 GB, free: 90.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007936/1.606, allocations: 450 kB / 0.8362 GB, free: 90.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.215e-05/1.606, allocations: 7.75 kB / 0.8362 GB, free: 90.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002117/1.608, allocations: 1.048 MB / 0.8373 GB, free: 90.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.608, allocations: 5.812 kB / 0.8373 GB, free: 90.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.037e-05/1.608, allocations: 29.09 kB / 0.8373 GB, free: 90.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.765e-05/1.609, allocations: 46.91 kB / 0.8373 GB, free: 90.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008253/1.609, allocations: 297.5 kB / 0.8376 GB, free: 90.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.208e-05/1.609, allocations: 59.28 kB / 0.8377 GB, free: 90.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009964/1.61, allocations: 45.73 kB / 0.8377 GB, free: 90.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/1.611, allocations: 83.47 kB / 0.8378 GB, free: 90.78 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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.0002283/1.611, allocations: 183.6 kB / 0.838 GB, free: 90.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/1.611, allocations: 77.5 kB / 0.8381 GB, free: 90.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000958/1.612, allocations: 362.2 kB / 0.8384 GB, free: 90.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/1.612, allocations: 3.938 kB / 0.8384 GB, free: 90.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.612, allocations: 3 kB / 0.8384 GB, free: 90.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.612, allocations: 0 / 0.8384 GB, free: 90.51 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/1.613, allocations: 0.8087 MB / 0.8392 GB, free: 90.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.613, allocations: 3.844 kB / 0.8392 GB, free: 90.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/1.614, allocations: 62.83 kB / 0.8393 GB, free: 90.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/1.614, allocations: 0 / 0.8393 GB, free: 90.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/1.614, allocations: 3.938 kB / 0.8393 GB, free: 90.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/1.614, allocations: 3.938 kB / 0.8393 GB, free: 90.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.614, allocations: 3.125 kB / 0.8393 GB, free: 90.21 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007944/1.615, allocations: 0.5209 MB / 0.8398 GB, free: 89.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/1.615, allocations: 175.1 kB / 0.84 GB, free: 89.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/1.615, allocations: 3.938 kB / 0.84 GB, free: 89.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004728/1.616, allocations: 14.25 kB / 0.84 GB, free: 89.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/1.616, allocations: 14.81 kB / 0.84 GB, free: 89.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/1.616, allocations: 26.56 kB / 0.84 GB, free: 89.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0005632/1.616, allocations: 455 kB / 0.8404 GB, free: 89.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001543/1.618, allocations: 262.2 kB / 0.8407 GB, free: 89.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009799/1.619, allocations: 374.6 kB / 0.841 GB, free: 89.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009859/1.62, allocations: 0.5564 MB / 0.8416 GB, free: 89.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.62, allocations: 3.938 kB / 0.8416 GB, free: 89.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001486/1.62, allocations: 112.5 kB / 0.8417 GB, free: 89.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/1.621, allocations: 243.5 kB / 0.8419 GB, free: 89.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/1.623, allocations: 1.003 MB / 0.8429 GB, free: 89.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007665/1.624, allocations: 1.084 MB / 0.844 GB, free: 88.52 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/1.624, allocations: 3.281 kB / 0.844 GB, free: 88.52 MB / 426.7 MB Notification: Performance of Templates: time 0.02528/1.649, allocations: 11.19 MB / 0.8549 GB, free: 87.75 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1)