Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.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.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") translateModel(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") [: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.001234/0.001234, allocations: 187 kB / 8.132 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.358/1.358, allocations: 205.2 MB / 213.7 MB, free: 13.84 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.0008343/0.0008341, allocations: 104.5 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.3898/0.3898, allocations: 48.76 MB / 358.4 MB, free: 53.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.025e-06/8.055e-06, allocations: 4 kB / 424.7 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1369, allocations: 60.26 MB / 485 MB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.817/5.954, allocations: 2.993 GB / 3.466 GB, free: 74.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/5.955, allocations: 74.12 kB / 3.466 GB, free: 74.14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.462/7.417, allocations: 453.8 MB / 3.909 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.419e-05/7.417, allocations: 17.47 kB / 3.909 GB, free: 23.07 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.007589/7.425, allocations: 1.249 MB / 3.911 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/7.425, allocations: 8.938 kB / 3.911 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009492/7.426, allocations: 121.6 kB / 3.911 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/7.427, allocations: 476.9 kB / 3.911 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/7.427, allocations: 15.34 kB / 3.911 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/7.427, allocations: 31.28 kB / 3.911 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008823/7.428, allocations: 319.2 kB / 3.912 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000893/7.429, allocations: 0.5263 MB / 3.912 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/7.429, allocations: 4.906 kB / 3.912 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/7.429, allocations: 3.812 kB / 3.912 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/7.429, allocations: 12.09 kB / 3.912 GB, free: 21.17 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002745/7.432, allocations: 2.705 MB / 3.915 GB, free: 18.28 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/7.432, allocations: 150 kB / 3.915 GB, free: 18.13 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/7.432, allocations: 117.3 kB / 3.915 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2973/7.73, allocations: 32.01 MB / 3.946 GB, free: 85.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/7.73, allocations: 37.84 kB / 3.946 GB, free: 85.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 3.277e-06/7.73, allocations: 0 / 3.946 GB, free: 85.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.003681/7.733, allocations: 1.109 MB / 3.947 GB, free: 84.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/7.734, allocations: 106.8 kB / 3.948 GB, free: 84.76 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/7.734, allocations: 270.9 kB / 3.948 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/7.734, allocations: 25.7 kB / 3.948 GB, free: 84.63 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/7.734, allocations: 233.9 kB / 3.948 GB, free: 84.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.133e-05/7.734, allocations: 114.2 kB / 3.948 GB, free: 84.44 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/7.734, allocations: 2.938 kB / 3.948 GB, free: 84.44 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.553e-05/7.734, allocations: 351.7 kB / 3.949 GB, free: 84.13 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/7.734, allocations: 106.4 kB / 3.949 GB, free: 84.13 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/7.735, allocations: 167.8 kB / 3.949 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/7.735, allocations: 129 kB / 3.949 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/7.735, allocations: 0 / 3.949 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002039/7.737, allocations: 0.6717 MB / 3.95 GB, free: 83.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/7.737, allocations: 0.5285 MB / 3.95 GB, free: 83.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/7.737, allocations: 6.875 kB / 3.95 GB, free: 83.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/7.739, allocations: 324 kB / 3.95 GB, free: 83.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/7.739, allocations: 32.98 kB / 3.95 GB, free: 83.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/7.74, allocations: 1.526 MB / 3.952 GB, free: 82.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/7.741, allocations: 53.34 kB / 3.952 GB, free: 82.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.483e-05/7.741, allocations: 16.83 kB / 3.952 GB, free: 82.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/7.741, allocations: 3.438 kB / 3.952 GB, free: 82.38 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001528/7.742, allocations: 497.5 kB / 3.952 GB, free: 82.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/7.742, allocations: 2.438 kB / 3.952 GB, free: 82.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/7.743, allocations: 277.9 kB / 3.953 GB, free: 82.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/7.744, allocations: 43.62 kB / 3.953 GB, free: 82.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/7.745, allocations: 1.41 MB / 3.954 GB, free: 81.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/7.745, allocations: 52.69 kB / 3.954 GB, free: 81.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/7.745, allocations: 16.2 kB / 3.954 GB, free: 81.29 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 (header.fluidState.phase,pressDrop.state.phase,mixer.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 12,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001342/7.746, allocations: 115.9 kB / 3.954 GB, free: 81.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/7.746, allocations: 135.9 kB / 3.954 GB, free: 81.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/7.747, allocations: 1.087 MB / 3.955 GB, free: 81.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/7.747, allocations: 10.97 kB / 3.956 GB, free: 81.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/7.747, allocations: 1.938 kB / 3.956 GB, free: 81.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/7.747, allocations: 7.062 kB / 3.956 GB, free: 81.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/7.75, allocations: 1.759 MB / 3.957 GB, free: 80.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/7.75, allocations: 0 / 3.957 GB, free: 80.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/7.75, allocations: 52.84 kB / 3.957 GB, free: 80.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005959/7.751, allocations: 153.7 kB / 3.957 GB, free: 80.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/7.751, allocations: 9.406 kB / 3.957 GB, free: 80.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/7.752, allocations: 2.53 MB / 3.96 GB, free: 78.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/7.752, allocations: 0 / 3.96 GB, free: 78.29 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001747/7.754, allocations: 1.26 MB / 3.961 GB, free: 78.08 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/7.754, allocations: 123.1 kB / 3.961 GB, free: 77.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/7.754, allocations: 0 / 3.961 GB, free: 77.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/7.754, allocations: 33.23 kB / 3.961 GB, free: 77.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/7.755, allocations: 24.16 kB / 3.961 GB, free: 77.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/7.755, allocations: 13 kB / 3.961 GB, free: 77.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001859/7.755, allocations: 216.3 kB / 3.962 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005333/7.76, allocations: 1.002 MB / 3.963 GB, free: 77.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mixer.p,mixer.h,header.p,header.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 (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.008481/7.769, allocations: 1.783 MB / 3.964 GB, free: 77.76 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001561/7.77, allocations: 0.7944 MB / 3.965 GB, free: 77.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/7.77, allocations: 0 / 3.965 GB, free: 77.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008005/7.771, allocations: 0.6035 MB / 3.966 GB, free: 77.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/7.772, allocations: 195 kB / 3.966 GB, free: 77.63 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/7.774, allocations: 1.114 MB / 3.967 GB, free: 77.38 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003841/7.775, allocations: 0.9364 MB / 3.968 GB, free: 76.68 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/7.775, allocations: 0.5625 kB / 3.968 GB, free: 76.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.04838/7.823, allocations: 34.28 MB / 4.001 GB, free: 75.54 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1)