Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam") translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam") [: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.3+maint.om/package.mo): time 0.00134/0.001339, allocations: 192.6 kB / 8.136 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.2 MB / 213.7 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 101.3 kB / 261.8 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4474/0.4474, allocations: 48.76 MB / 358.4 MB, free: 53.2 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Performance of FrontEnd - loaded program: time 7.875e-06/7.905e-06, allocations: 0 / 424.7 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1403, allocations: 60.23 MB / 485 MB, free: 11.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.702/5.843, allocations: 2.993 GB / 3.466 GB, free: 74.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/5.843, allocations: 77.98 kB / 3.466 GB, free: 74.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.123/6.966, allocations: 362.8 MB / 3.821 GB, free: 60.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.246e-05/6.966, allocations: 10.44 kB / 3.821 GB, free: 60.55 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.005787/6.971, allocations: 1.186 MB / 3.822 GB, free: 59.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/6.972, allocations: 15.88 kB / 3.822 GB, free: 59.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006508/6.972, allocations: 108.6 kB / 3.822 GB, free: 59.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009211/6.973, allocations: 414.8 kB / 3.822 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/6.973, allocations: 14.84 kB / 3.822 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-05/6.973, allocations: 23 kB / 3.822 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005743/6.974, allocations: 293.5 kB / 3.823 GB, free: 59.47 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006033/6.974, allocations: 446.2 kB / 3.823 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/6.974, allocations: 3.938 kB / 3.823 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/6.975, allocations: 7.344 kB / 3.823 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/6.975, allocations: 7.906 kB / 3.823 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/6.977, allocations: 2.394 MB / 3.825 GB, free: 57.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/6.977, allocations: 131.4 kB / 3.826 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/6.977, allocations: 123.2 kB / 3.826 GB, free: 57.06 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06614/7.043, allocations: 32.01 MB / 3.857 GB, free: 36.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/7.043, allocations: 31.88 kB / 3.857 GB, free: 36.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 3.166e-06/7.043, allocations: 0 / 3.857 GB, free: 36.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.003856/7.047, allocations: 1.082 MB / 3.858 GB, free: 36.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/7.047, allocations: 115.3 kB / 3.858 GB, free: 36.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/7.048, allocations: 238.7 kB / 3.858 GB, free: 36.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/7.048, allocations: 25.7 kB / 3.858 GB, free: 35.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/7.048, allocations: 203.3 kB / 3.859 GB, free: 35.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.211e-05/7.048, allocations: 107.5 kB / 3.859 GB, free: 35.74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/7.048, allocations: 0 / 3.859 GB, free: 35.74 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.087e-05/7.048, allocations: 348.9 kB / 3.859 GB, free: 35.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/7.048, allocations: 110.8 kB / 3.859 GB, free: 35.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/7.049, allocations: 168.3 kB / 3.859 GB, free: 35.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/7.049, allocations: 139.6 kB / 3.859 GB, free: 35.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/7.049, allocations: 0 / 3.859 GB, free: 35.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001981/7.051, allocations: 0.6602 MB / 3.86 GB, free: 34.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/7.051, allocations: 0.5245 MB / 3.861 GB, free: 34.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/7.051, allocations: 6.219 kB / 3.861 GB, free: 34.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/7.052, allocations: 323.1 kB / 3.861 GB, free: 34.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/7.053, allocations: 38.47 kB / 3.861 GB, free: 34.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/7.054, allocations: 1.009 MB / 3.862 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005355/7.055, allocations: 56.48 kB / 3.862 GB, free: 33.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/7.055, allocations: 15.38 kB / 3.862 GB, free: 33.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/7.055, allocations: 4.156 kB / 3.862 GB, free: 33.61 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001569/7.057, allocations: 455.3 kB / 3.862 GB, free: 33.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/7.057, allocations: 1.688 kB / 3.862 GB, free: 33.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/7.058, allocations: 282.8 kB / 3.863 GB, free: 33.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/7.058, allocations: 39.25 kB / 3.863 GB, free: 33.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/7.059, allocations: 0.9256 MB / 3.864 GB, free: 32.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004389/7.06, allocations: 49.23 kB / 3.864 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/7.06, allocations: 14.97 kB / 3.864 GB, free: 32.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (Header1.fluidState.phase,PressDrop1.state.phase,Mixer1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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: 0 * Non-linear torn systems: 1 {4 18} Notification: Performance of prepare postOptimizeDAE: time 0.0001389/7.06, allocations: 122.5 kB / 3.864 GB, free: 32.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003708/7.06, allocations: 124.3 kB / 3.864 GB, free: 32.58 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/7.062, allocations: 1.091 MB / 3.865 GB, free: 32.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/7.062, allocations: 7.625 kB / 3.865 GB, free: 32.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/7.062, allocations: 3.938 kB / 3.865 GB, free: 32.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/7.062, allocations: 0 / 3.865 GB, free: 32.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/7.064, allocations: 1.72 MB / 3.867 GB, free: 31.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/7.064, allocations: 0 / 3.867 GB, free: 31.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005746/7.064, allocations: 85.25 kB / 3.867 GB, free: 31.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005252/7.065, allocations: 124.2 kB / 3.867 GB, free: 31.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/7.065, allocations: 10.8 kB / 3.867 GB, free: 31.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/7.067, allocations: 2.57 MB / 3.869 GB, free: 28.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/7.067, allocations: 3.906 kB / 3.869 GB, free: 28.58 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001768/7.068, allocations: 1.242 MB / 3.871 GB, free: 27.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/7.069, allocations: 115.1 kB / 3.871 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/7.069, allocations: 3.594 kB / 3.871 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/7.069, allocations: 39.84 kB / 3.871 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/7.069, allocations: 18.62 kB / 3.871 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/7.069, allocations: 13.03 kB / 3.871 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001741/7.069, allocations: 190.2 kB / 3.871 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007459/7.077, allocations: 0.9725 MB / 3.872 GB, free: 27.56 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Mixer1.p,Mixer1.h,Header1.p,Header1.h) * Number of discrete variables: 4 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008574/7.085, allocations: 1.612 MB / 3.873 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001695/7.087, allocations: 0.8123 MB / 3.874 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/7.087, allocations: 0 / 3.874 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/7.088, allocations: 0.6248 MB / 3.875 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/7.089, allocations: 169.7 kB / 3.875 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/7.091, allocations: 1.049 MB / 3.876 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000398/7.092, allocations: 0.9095 MB / 3.877 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/7.092, allocations: 0 / 3.877 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of Templates: time 0.05117/7.143, allocations: 32.4 MB / 3.909 GB, free: 20 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe 2>&1)