Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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/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/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.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") [: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.00374/0.003739, allocations: 181.1 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6802/0.6802, allocations: 130.6 MB / 138.5 MB, free: 2.16 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.4 MB / 391.4 MB, free: 13.01 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.001032/0.001032, allocations: 105.5 kB / 473.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.308e-06/9.338e-06, allocations: 1.062 kB / 0.5479 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1756, allocations: 81.58 MB / 0.6276 GB, free: 18.19 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.329/4.505, allocations: 1.883 GB / 2.511 GB, free: 247.1 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003702/4.505, allocations: 83.75 kB / 2.511 GB, free: 247.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.283/5.788, allocations: 371.8 MB / 2.874 GB, free: 131.8 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001143/5.788, allocations: 16 kB / 2.874 GB, free: 131.8 MB / 0.6667 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.002738/5.791, allocations: 0.8774 MB / 2.875 GB, free: 130.9 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/5.791, allocations: 11.97 kB / 2.875 GB, free: 130.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/5.793, allocations: 179 kB / 2.875 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/5.795, allocations: 0.5653 MB / 2.876 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/5.795, allocations: 16 kB / 2.876 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/5.795, allocations: 24 kB / 2.876 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007846/5.796, allocations: 353.9 kB / 2.876 GB, free: 129.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007407/5.796, allocations: 372.4 kB / 2.876 GB, free: 129.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/5.796, allocations: 4 kB / 2.876 GB, free: 129.3 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/5.796, allocations: 0 / 2.876 GB, free: 129.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.241e-05/5.796, allocations: 13 kB / 2.876 GB, free: 129.3 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003341/5.8, allocations: 1.972 MB / 2.878 GB, free: 127.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/5.8, allocations: 181.6 kB / 2.879 GB, free: 127.1 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/5.8, allocations: 164.8 kB / 2.879 GB, free: 126.9 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003436/5.801, allocations: 192.8 kB / 2.879 GB, free: 126.7 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/5.801, allocations: 42.5 kB / 2.879 GB, free: 126.6 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=30): time 2.765e-06/5.801, allocations: 0 / 2.879 GB, free: 126.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30): time 0.001225/5.802, allocations: 382.8 kB / 2.879 GB, free: 126.2 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/5.802, allocations: 55.39 kB / 2.879 GB, free: 126.2 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/5.802, allocations: 329.1 kB / 2.88 GB, free: 125.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/5.802, allocations: 29.7 kB / 2.88 GB, free: 125.8 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/5.803, allocations: 212.1 kB / 2.88 GB, free: 125.6 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/5.803, allocations: 110.4 kB / 2.88 GB, free: 125.5 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/5.803, allocations: 0 / 2.88 GB, free: 125.5 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001178/5.803, allocations: 354.8 kB / 2.88 GB, free: 125.1 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/5.803, allocations: 111.9 kB / 2.88 GB, free: 125 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/5.803, allocations: 193.1 kB / 2.881 GB, free: 124.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/5.803, allocations: 145.3 kB / 2.881 GB, free: 124.7 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/5.804, allocations: 0 / 2.881 GB, free: 124.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005551/5.804, allocations: 348.9 kB / 2.881 GB, free: 124.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001895/5.804, allocations: 0.5293 MB / 2.882 GB, free: 123.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/5.804, allocations: 4 kB / 2.882 GB, free: 123.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/5.804, allocations: 7.938 kB / 2.882 GB, free: 123.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/5.805, allocations: 71.91 kB / 2.882 GB, free: 123.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/5.805, allocations: 0 / 2.882 GB, free: 123.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006503/5.805, allocations: 59.64 kB / 2.882 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/5.805, allocations: 11.94 kB / 2.882 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/5.805, allocations: 4 kB / 2.882 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000423/5.806, allocations: 284 kB / 2.882 GB, free: 123.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/5.806, allocations: 4 kB / 2.882 GB, free: 123.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.553e-06/5.806, allocations: 0 / 2.882 GB, free: 123.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/5.806, allocations: 71.91 kB / 2.882 GB, free: 123.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/5.806, allocations: 7.938 kB / 2.882 GB, free: 123.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005679/5.807, allocations: 51.86 kB / 2.882 GB, free: 123.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/5.807, allocations: 12 kB / 2.882 GB, free: 123.2 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001409/5.807, allocations: 112.9 kB / 2.882 GB, free: 123 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.533e-05/5.807, allocations: 43.44 kB / 2.882 GB, free: 123 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007006/5.808, allocations: 371.3 kB / 2.883 GB, free: 122.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/5.808, allocations: 7.844 kB / 2.883 GB, free: 122.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/5.808, allocations: 4 kB / 2.883 GB, free: 122.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004895/5.808, allocations: 393.2 kB / 2.883 GB, free: 122.2 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/5.81, allocations: 1.033 MB / 2.884 GB, free: 121.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/5.81, allocations: 4 kB / 2.884 GB, free: 121.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/5.811, allocations: 63.91 kB / 2.884 GB, free: 121 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002587/5.811, allocations: 44.83 kB / 2.884 GB, free: 121 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/5.811, allocations: 4.062 kB / 2.884 GB, free: 121 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/5.812, allocations: 1.4 MB / 2.886 GB, free: 119.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/5.812, allocations: 4.062 kB / 2.886 GB, free: 119.5 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008579/5.813, allocations: 0.7333 MB / 2.886 GB, free: 118.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002587/5.813, allocations: 164.5 kB / 2.886 GB, free: 118.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.773e-05/5.813, allocations: 4 kB / 2.886 GB, free: 118.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004921/5.814, allocations: 43.86 kB / 2.887 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/5.814, allocations: 11.98 kB / 2.887 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/5.814, allocations: 15.98 kB / 2.887 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0002717/5.814, allocations: 259.2 kB / 2.887 GB, free: 118.1 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001432/5.816, allocations: 383.2 kB / 2.887 GB, free: 117.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002346/5.818, allocations: 1.276 MB / 2.888 GB, free: 116.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000791/5.819, allocations: 450.7 kB / 2.889 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/5.819, allocations: 4.188 kB / 2.889 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004283/5.819, allocations: 258.3 kB / 2.889 GB, free: 115.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/5.821, allocations: 270.7 kB / 2.889 GB, free: 115.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/5.823, allocations: 0.8236 MB / 2.89 GB, free: 114.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006218/5.823, allocations: 0.9556 MB / 2.891 GB, free: 113.8 MB / 0.6667 GB Notification: Performance of SimCode: time 2.5e-07/5.823, allocations: 0 / 2.891 GB, free: 113.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.02981/5.853, allocations: 16.85 MB / 2.908 GB, free: 97.11 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)