Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001794/0.001794, allocations: 180.5 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6059/0.6059, 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.118/1.118, allocations: 221.3 MB / 395 MB, free: 10.25 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.000835/0.0008349, allocations: 102.9 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.032e-06/6.052e-06, allocations: 0 / 0.5528 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1098, allocations: 82.31 MB / 0.6332 GB, free: 14.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.852/2.962, allocations: 1.884 GB / 2.517 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/2.962, allocations: 83.61 kB / 2.517 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.109/4.071, allocations: 371.7 MB / 2.88 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.327e-05/4.071, allocations: 21.75 kB / 2.88 GB, free: 166.1 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.001234/4.073, allocations: 0.8746 MB / 2.881 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/4.073, allocations: 7.812 kB / 2.881 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009574/4.074, allocations: 189.5 kB / 2.881 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008375/4.074, allocations: 0.566 MB / 2.882 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/4.074, allocations: 11.41 kB / 2.882 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/4.074, allocations: 27 kB / 2.882 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000499/4.075, allocations: 352.6 kB / 2.882 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/4.075, allocations: 371.5 kB / 2.882 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/4.076, allocations: 1.875 kB / 2.882 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/4.076, allocations: 3.906 kB / 2.882 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/4.076, allocations: 16.31 kB / 2.882 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/4.078, allocations: 1.971 MB / 2.884 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/4.078, allocations: 177.2 kB / 2.884 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/4.078, allocations: 163.8 kB / 2.885 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000226/4.078, allocations: 195.8 kB / 2.885 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/4.078, allocations: 42.34 kB / 2.885 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 1.723e-06/4.078, allocations: 0 / 2.885 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30): time 0.0008562/4.079, allocations: 384.3 kB / 2.885 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/4.079, allocations: 55.34 kB / 2.885 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/4.079, allocations: 329.2 kB / 2.886 GB, free: 164 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/4.08, allocations: 29.58 kB / 2.886 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/4.08, allocations: 220 kB / 2.886 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.366e-05/4.08, allocations: 95.03 kB / 2.886 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.408e-05/4.08, allocations: 3.844 kB / 2.886 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.135e-05/4.08, allocations: 360.3 kB / 2.886 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/4.08, allocations: 104.6 kB / 2.886 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/4.08, allocations: 194.3 kB / 2.887 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/4.08, allocations: 137.4 kB / 2.887 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/4.08, allocations: 0 / 2.887 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004183/4.081, allocations: 357.3 kB / 2.887 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.099e-05/4.081, allocations: 0.5254 MB / 2.888 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/4.081, allocations: 3.781 kB / 2.888 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/4.081, allocations: 3.812 kB / 2.888 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/4.081, allocations: 70.7 kB / 2.888 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/4.081, allocations: 4.766 kB / 2.888 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/4.082, allocations: 50.64 kB / 2.888 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/4.082, allocations: 14.05 kB / 2.888 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.37e-06/4.082, allocations: 10.12 kB / 2.888 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003419/4.082, allocations: 278.1 kB / 2.888 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-06/4.082, allocations: 0 / 2.888 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.607e-06/4.082, allocations: 3.25 kB / 2.888 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/4.082, allocations: 76.81 kB / 2.888 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/4.082, allocations: 3.656 kB / 2.888 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/4.083, allocations: 53.33 kB / 2.888 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/4.083, allocations: 17.62 kB / 2.888 GB, free: 162.7 MB / 0.6823 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 7.276e-05/4.083, allocations: 110.7 kB / 2.888 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-05/4.083, allocations: 48.62 kB / 2.888 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005375/4.084, allocations: 370.9 kB / 2.889 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/4.084, allocations: 3.969 kB / 2.889 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/4.084, allocations: 0 / 2.889 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004112/4.084, allocations: 403.7 kB / 2.889 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/4.085, allocations: 1.025 MB / 2.89 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/4.085, allocations: 0 / 2.89 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/4.085, allocations: 63.91 kB / 2.89 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001853/4.086, allocations: 48.17 kB / 2.89 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/4.086, allocations: 6.875 kB / 2.89 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008534/4.087, allocations: 1.394 MB / 2.891 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/4.087, allocations: 3.375 kB / 2.891 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006807/4.087, allocations: 0.7372 MB / 2.892 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/4.087, allocations: 160.5 kB / 2.892 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/4.088, allocations: 7.875 kB / 2.892 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/4.088, allocations: 39.84 kB / 2.892 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/4.088, allocations: 20.67 kB / 2.892 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/4.088, allocations: 13.72 kB / 2.892 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002067/4.088, allocations: 261.2 kB / 2.893 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009903/4.089, allocations: 386.6 kB / 2.893 GB, free: 160.2 MB / 0.6823 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.001268/4.09, allocations: 1.264 MB / 2.894 GB, free: 160 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005507/4.091, allocations: 455.4 kB / 2.895 GB, free: 160 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/4.091, allocations: 0 / 2.895 GB, free: 160 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003077/4.091, allocations: 256.6 kB / 2.895 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/4.093, allocations: 275.6 kB / 2.895 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/4.094, allocations: 0.8177 MB / 2.896 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/4.094, allocations: 0.9574 MB / 2.897 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of SimCode: time 8.82e-07/4.094, allocations: 0 / 2.897 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.0223/4.117, allocations: 16.84 MB / 2.913 GB, free: 158.6 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)