Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001442/0.001442, allocations: 190.3 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4665/0.4665, allocations: 90.85 MB / 99.07 MB, free: 14.9 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.4 MB / 342.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 86.17 kB / 415.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.438e-06/9.538e-06, allocations: 4 kB / 493.9 MB, free: 8.023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4835/0.4835, allocations: 72.3 MB / 0.5529 GB, free: 73.42 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.609/4.093, allocations: 1.874 GB / 2.427 GB, free: 202.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/4.093, allocations: 87.95 kB / 2.427 GB, free: 202.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.9588/5.052, allocations: 373.4 MB / 2.792 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.026e-05/5.052, allocations: 19.91 kB / 2.792 GB, free: 63.12 MB / 0.6042 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.001851/5.054, allocations: 0.8741 MB / 2.793 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/5.054, allocations: 11.97 kB / 2.793 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/5.055, allocations: 183 kB / 2.793 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/5.056, allocations: 0.5674 MB / 2.793 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/5.057, allocations: 12 kB / 2.793 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.316e-05/5.057, allocations: 28 kB / 2.793 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006219/5.057, allocations: 353.9 kB / 2.794 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006429/5.058, allocations: 376.4 kB / 2.794 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/5.058, allocations: 0 / 2.794 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/5.058, allocations: 8 kB / 2.794 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/5.058, allocations: 13 kB / 2.794 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/5.061, allocations: 2.02 MB / 2.796 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/5.061, allocations: 258.8 kB / 2.796 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/5.061, allocations: 161.5 kB / 2.797 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/5.061, allocations: 194.2 kB / 2.797 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/5.061, allocations: 46.5 kB / 2.797 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/5.061, allocations: 0 / 2.797 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30): time 0.0009736/5.062, allocations: 391.7 kB / 2.797 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/5.062, allocations: 51.41 kB / 2.797 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/5.063, allocations: 329.2 kB / 2.798 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/5.063, allocations: 29.7 kB / 2.798 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/5.063, allocations: 216 kB / 2.798 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/5.063, allocations: 98.5 kB / 2.798 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/5.063, allocations: 4 kB / 2.798 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.535e-05/5.063, allocations: 354.8 kB / 2.798 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/5.063, allocations: 112 kB / 2.798 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/5.063, allocations: 191.5 kB / 2.798 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/5.064, allocations: 141.2 kB / 2.799 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/5.064, allocations: 0 / 2.799 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004477/5.064, allocations: 352.9 kB / 2.799 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.092e-05/5.064, allocations: 0.5254 MB / 2.799 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/5.064, allocations: 7.922 kB / 2.799 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/5.064, allocations: 8 kB / 2.799 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/5.064, allocations: 71.91 kB / 2.8 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/5.065, allocations: 7.906 kB / 2.8 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/5.065, allocations: 47.8 kB / 2.8 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/5.065, allocations: 16 kB / 2.8 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.675e-06/5.065, allocations: 6.656 kB / 2.8 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003656/5.065, allocations: 284 kB / 2.8 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/5.065, allocations: 4 kB / 2.8 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.439e-06/5.065, allocations: 4 kB / 2.8 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/5.066, allocations: 71.81 kB / 2.8 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/5.066, allocations: 0 / 2.8 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/5.066, allocations: 55.89 kB / 2.8 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/5.066, allocations: 16 kB / 2.8 GB, free: 54.35 MB / 0.6042 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 8.092e-05/5.066, allocations: 112.9 kB / 2.8 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.812e-05/5.067, allocations: 51.34 kB / 2.8 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005722/5.067, allocations: 367 kB / 2.801 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/5.067, allocations: 0 / 2.801 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/5.067, allocations: 7.984 kB / 2.801 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004303/5.068, allocations: 397.2 kB / 2.801 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/5.069, allocations: 1.028 MB / 2.802 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/5.069, allocations: 0 / 2.802 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/5.069, allocations: 63.89 kB / 2.802 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002058/5.07, allocations: 45.02 kB / 2.802 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/5.07, allocations: 8 kB / 2.802 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009442/5.071, allocations: 1.396 MB / 2.803 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/5.071, allocations: 3.906 kB / 2.803 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007038/5.071, allocations: 0.7174 MB / 2.804 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/5.071, allocations: 164.4 kB / 2.804 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-05/5.072, allocations: 7.906 kB / 2.804 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004554/5.072, allocations: 39.95 kB / 2.804 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/5.072, allocations: 19.98 kB / 2.804 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/5.072, allocations: 11.98 kB / 2.804 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002284/5.072, allocations: 267.1 kB / 2.805 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001186/5.074, allocations: 383.2 kB / 2.805 GB, free: 48.96 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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.001944/5.075, allocations: 1.268 MB / 2.806 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008634/5.076, allocations: 446.9 kB / 2.807 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/5.076, allocations: 4.125 kB / 2.807 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004195/5.077, allocations: 257.5 kB / 2.807 GB, free: 47.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/5.078, allocations: 270.8 kB / 2.807 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/5.08, allocations: 0.8236 MB / 2.808 GB, free: 45.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/5.08, allocations: 0.9672 MB / 2.809 GB, free: 45 MB / 0.6042 GB Notification: Performance of SimCode: time 4.41e-07/5.08, allocations: 0 / 2.809 GB, free: 45 MB / 0.6042 GB Notification: Performance of Templates: time 0.02409/5.104, allocations: 16.85 MB / 2.825 GB, free: 28.3 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)