Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.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.GasComponents.TestGasMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer") translateModel(ThermoPower.Test.GasComponents.TestGasMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer") [: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.001047/0.001047, allocations: 191.5 kB / 8.138 MB, free: 2.219 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.236/1.236, allocations: 205.2 MB / 213.7 MB, free: 13.9 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.0008756/0.0008757, allocations: 98.03 kB / 261.8 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3734/0.3734, allocations: 48.76 MB / 358.5 MB, free: 53.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.752e-06/6.863e-06, allocations: 0 / 424.7 MB, free: 8.266 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1323, allocations: 60.25 MB / 485 MB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.565/1.698, allocations: 0.719 GB / 1.193 GB, free: 89.24 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/1.698, allocations: 85.98 kB / 1.193 GB, free: 89.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.27/2.968, allocations: 402 MB / 1.585 GB, free: 91.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.446e-05/2.969, allocations: 23.28 kB / 1.585 GB, free: 91.21 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002919/2.972, allocations: 1.071 MB / 1.586 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/2.972, allocations: 9.406 kB / 1.586 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/2.973, allocations: 176.8 kB / 1.586 GB, free: 90.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/2.974, allocations: 0.6159 MB / 1.587 GB, free: 89.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/2.975, allocations: 29.28 kB / 1.587 GB, free: 89.87 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002537/2.975, allocations: 53.55 kB / 1.587 GB, free: 89.87 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001489/2.976, allocations: 0.7822 MB / 1.588 GB, free: 89.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/2.978, allocations: 0.883 MB / 1.589 GB, free: 89.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/2.978, allocations: 3.906 kB / 1.589 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/2.978, allocations: 2.688 kB / 1.589 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/2.978, allocations: 17.97 kB / 1.589 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00599/2.984, allocations: 3.88 MB / 1.593 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/2.986, allocations: 0.6149 MB / 1.593 GB, free: 85.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004728/2.986, allocations: 310 kB / 1.593 GB, free: 85.31 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.432e-05/2.986, allocations: 17.06 kB / 1.593 GB, free: 85.31 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/2.986, allocations: 46.19 kB / 1.594 GB, free: 85.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 6.041e-06/2.986, allocations: 2.719 kB / 1.594 GB, free: 85.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.007289/2.994, allocations: 2.293 MB / 1.596 GB, free: 83.86 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/2.994, allocations: 113.3 kB / 1.596 GB, free: 83.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004844/2.994, allocations: 376.5 kB / 1.596 GB, free: 83.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001228/2.994, allocations: 27.92 kB / 1.596 GB, free: 83.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/2.994, allocations: 320 kB / 1.597 GB, free: 83.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/2.995, allocations: 232.8 kB / 1.597 GB, free: 83 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/2.995, allocations: 0 / 1.597 GB, free: 83 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.876e-05/2.995, allocations: 369 kB / 1.597 GB, free: 82.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004434/2.995, allocations: 314 kB / 1.597 GB, free: 82.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/2.996, allocations: 415.5 kB / 1.598 GB, free: 82.24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007014/2.996, allocations: 368.6 kB / 1.598 GB, free: 82.06 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/2.996, allocations: 0 / 1.598 GB, free: 82.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002391/2.999, allocations: 1.174 MB / 1.599 GB, free: 81.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001888/2.999, allocations: 0.7909 MB / 1.6 GB, free: 80.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/2.999, allocations: 0 / 1.6 GB, free: 80.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002976/3.002, allocations: 0.7529 MB / 1.601 GB, free: 80.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/3.003, allocations: 120.4 kB / 1.601 GB, free: 80.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/3.005, allocations: 1.593 MB / 1.602 GB, free: 79.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/3.006, allocations: 107.2 kB / 1.603 GB, free: 79.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/3.007, allocations: 38.45 kB / 1.603 GB, free: 79.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/3.007, allocations: 7.406 kB / 1.603 GB, free: 79.25 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002349/3.009, allocations: 0.9018 MB / 1.604 GB, free: 78.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/3.009, allocations: 2.438 kB / 1.604 GB, free: 78.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/3.011, allocations: 429.1 kB / 1.604 GB, free: 78.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/3.011, allocations: 175.9 kB / 1.604 GB, free: 78.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/3.013, allocations: 2.313 MB / 1.606 GB, free: 76.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009414/3.014, allocations: 100.8 kB / 1.606 GB, free: 76.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-05/3.015, allocations: 31.8 kB / 1.606 GB, free: 76.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 {8 33} Notification: Performance of prepare postOptimizeDAE: time 0.0003106/3.015, allocations: 117.3 kB / 1.607 GB, free: 76.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/3.015, allocations: 66 kB / 1.607 GB, free: 76.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/3.017, allocations: 0.9047 MB / 1.608 GB, free: 75.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/3.017, allocations: 11.06 kB / 1.608 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/3.017, allocations: 1.5 kB / 1.608 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/3.017, allocations: 3.984 kB / 1.608 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003609/3.021, allocations: 1.83 MB / 1.609 GB, free: 74.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/3.021, allocations: 1.375 kB / 1.609 GB, free: 74.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/3.022, allocations: 178.2 kB / 1.61 GB, free: 74.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/3.023, allocations: 260.9 kB / 1.61 GB, free: 74.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.38e-05/3.023, allocations: 20.75 kB / 1.61 GB, free: 74.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/3.025, allocations: 2.747 MB / 1.612 GB, free: 71.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/3.025, allocations: 4.031 kB / 1.612 GB, free: 71.77 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001832/3.027, allocations: 1.31 MB / 1.614 GB, free: 70.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/3.027, allocations: 140.2 kB / 1.614 GB, free: 70.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/3.027, allocations: 4 kB / 1.614 GB, free: 70.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/3.028, allocations: 99.84 kB / 1.614 GB, free: 70.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/3.029, allocations: 48.48 kB / 1.614 GB, free: 70.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/3.029, allocations: 43.95 kB / 1.614 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003049/3.029, allocations: 283.2 kB / 1.614 GB, free: 69.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001989/3.031, allocations: 0.5311 MB / 1.615 GB, free: 69.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Mixer1.gas.p,Mixer1.gas.Xi[1],Mixer1.gas.Xi[2],Mixer1.gas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {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: 1 {3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.00249/3.034, allocations: 1.249 MB / 1.616 GB, free: 68.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002991/3.037, allocations: 1.38 MB / 1.617 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/3.037, allocations: 4.719 kB / 1.617 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009097/3.037, allocations: 0.5195 MB / 1.618 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/3.039, allocations: 285.8 kB / 1.618 GB, free: 65.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/3.042, allocations: 1.33 MB / 1.62 GB, free: 64.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000727/3.043, allocations: 1.091 MB / 1.621 GB, free: 63.52 MB / 0.5105 GB Notification: Performance of SimCode: time 6.51e-07/3.043, allocations: 3.938 kB / 1.621 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of Templates: time 0.03747/3.08, allocations: 28.35 MB / 1.648 GB, free: 35.36 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe 2>&1)