Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 173.7 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.592/0.592, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.125/1.125, allocations: 221.3 MB / 395 MB, free: 10.18 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.0008472/0.0008473, allocations: 98.12 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.242e-06/6.342e-06, allocations: 2.781 kB / 0.5528 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.786/2.9, allocations: 1.911 GB / 2.544 GB, free: 46.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/2.9, allocations: 83.95 kB / 2.544 GB, free: 46.42 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.355/4.256, allocations: 475 MB / 3.008 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000126/4.256, allocations: 31.39 kB / 3.008 GB, free: 111.3 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004855/4.261, allocations: 1.491 MB / 3.01 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/4.261, allocations: 8.031 kB / 3.01 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/4.263, allocations: 300.8 kB / 3.01 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/4.264, allocations: 0.848 MB / 3.011 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/4.264, allocations: 20 kB / 3.011 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/4.265, allocations: 55.97 kB / 3.011 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001269/4.266, allocations: 0.8779 MB / 3.012 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/4.267, allocations: 0.886 MB / 3.012 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/4.267, allocations: 3.938 kB / 3.012 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.131e-05/4.267, allocations: 4 kB / 3.012 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.199e-05/4.267, allocations: 85.88 kB / 3.013 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004883/4.272, allocations: 3.434 MB / 3.016 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/4.273, allocations: 0.7259 MB / 3.017 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003881/4.274, allocations: 362.2 kB / 3.017 GB, free: 102 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/4.274, allocations: 201.3 kB / 3.017 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/4.274, allocations: 43.05 kB / 3.017 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 2.595e-06/4.274, allocations: 0 / 3.017 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.001476/4.275, allocations: 0.7532 MB / 3.018 GB, free: 101 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/4.276, allocations: 111.3 kB / 3.018 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000546/4.276, allocations: 0.5545 MB / 3.019 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.153e-05/4.276, allocations: 25.7 kB / 3.019 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/4.276, allocations: 315.8 kB / 3.019 GB, free: 99.94 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/4.276, allocations: 212.8 kB / 3.019 GB, free: 99.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/4.276, allocations: 4 kB / 3.019 GB, free: 99.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.21e-05/4.277, allocations: 386.8 kB / 3.019 GB, free: 99.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/4.277, allocations: 309.5 kB / 3.02 GB, free: 99.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/4.277, allocations: 443.7 kB / 3.02 GB, free: 98.56 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/4.279, allocations: 0.6822 MB / 3.021 GB, free: 97.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/4.279, allocations: 3.938 kB / 3.021 GB, free: 97.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001888/4.281, allocations: 1.147 MB / 3.022 GB, free: 96.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001544/4.281, allocations: 0.8718 MB / 3.023 GB, free: 95.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/4.281, allocations: 4 kB / 3.023 GB, free: 95.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/4.281, allocations: 12 kB / 3.023 GB, free: 95.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/4.281, allocations: 147.8 kB / 3.023 GB, free: 95.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/4.281, allocations: 7.938 kB / 3.023 GB, free: 95.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008078/4.282, allocations: 79.33 kB / 3.023 GB, free: 95.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.368e-05/4.282, allocations: 28 kB / 3.023 GB, free: 95.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/4.282, allocations: 4 kB / 3.023 GB, free: 95.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001573/4.284, allocations: 0.9507 MB / 3.024 GB, free: 94.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/4.284, allocations: 0 / 3.024 GB, free: 94.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.063e-06/4.284, allocations: 12.27 kB / 3.024 GB, free: 94.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006094/4.285, allocations: 147.8 kB / 3.024 GB, free: 94.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/4.285, allocations: 4 kB / 3.024 GB, free: 94.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007064/4.285, allocations: 75.39 kB / 3.024 GB, free: 94.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/4.285, allocations: 24 kB / 3.024 GB, free: 94.29 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0001287/4.286, allocations: 116.8 kB / 3.024 GB, free: 94.17 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/4.286, allocations: 82.97 kB / 3.024 GB, free: 94.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/4.287, allocations: 0.7706 MB / 3.025 GB, free: 93.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/4.287, allocations: 4 kB / 3.025 GB, free: 93.29 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/4.287, allocations: 4 kB / 3.025 GB, free: 93.29 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008645/4.288, allocations: 0.729 MB / 3.026 GB, free: 92.53 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/4.29, allocations: 1.941 MB / 3.028 GB, free: 90.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/4.29, allocations: 8.094 kB / 3.028 GB, free: 90.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/4.291, allocations: 131.8 kB / 3.028 GB, free: 90.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/4.291, allocations: 8 kB / 3.028 GB, free: 90.38 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/4.291, allocations: 12 kB / 3.028 GB, free: 90.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/4.291, allocations: 11.92 kB / 3.028 GB, free: 90.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/4.291, allocations: 4 kB / 3.028 GB, free: 90.35 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001481/4.292, allocations: 1.532 MB / 3.029 GB, free: 88.67 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/4.293, allocations: 247.9 kB / 3.03 GB, free: 88.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/4.293, allocations: 7.984 kB / 3.03 GB, free: 88.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006252/4.293, allocations: 31.97 kB / 3.03 GB, free: 88.37 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.919e-05/4.294, allocations: 44.3 kB / 3.03 GB, free: 88.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/4.294, allocations: 23.98 kB / 3.03 GB, free: 88.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003715/4.294, allocations: 435.1 kB / 3.03 GB, free: 87.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001814/4.296, allocations: 0.8733 MB / 3.031 GB, free: 87.01 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (64): * Single equations (assignments): 64 * 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.002662/4.298, allocations: 1.934 MB / 3.033 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001296/4.3, allocations: 1.122 MB / 3.034 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/4.3, allocations: 384 / 3.034 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003605/4.3, allocations: 357.4 kB / 3.034 GB, free: 83.76 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/4.302, allocations: 421.8 kB / 3.035 GB, free: 83.35 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/4.304, allocations: 1.502 MB / 3.036 GB, free: 81.78 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006994/4.305, allocations: 1.183 MB / 3.037 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of SimCode: time 2.71e-07/4.305, allocations: 3.938 kB / 3.037 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of Templates: time 0.03728/4.342, allocations: 31.61 MB / 3.068 GB, free: 49.22 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)