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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001323/0.001323, allocations: 181.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.816/1.816, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001173/0.001172, allocations: 91.27 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6071/0.6071, allocations: 48.78 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004454, allocations: 8 kB / 438.6 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1909, allocations: 60.26 MB / 498.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.558/2.749, allocations: 0.7198 GB / 1.207 GB, free: 94.18 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/2.749, allocations: 83.95 kB / 1.207 GB, free: 94.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.743/4.493, allocations: 403.1 MB / 1.601 GB, free: 88.58 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.585e-06/4.493, allocations: 0 / 1.601 GB, free: 88.58 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.215e-05/4.493, allocations: 25 kB / 1.601 GB, free: 88.57 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.002452/4.495, allocations: 1.141 MB / 1.602 GB, free: 87.74 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/4.495, allocations: 7.75 kB / 1.602 GB, free: 87.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000836/4.496, allocations: 172.7 kB / 1.602 GB, free: 87.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/4.497, allocations: 0.6211 MB / 1.603 GB, free: 87.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/4.497, allocations: 69.17 kB / 1.603 GB, free: 87.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/4.498, allocations: 78.97 kB / 1.603 GB, free: 87.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/4.499, allocations: 1.064 MB / 1.604 GB, free: 86.49 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/4.5, allocations: 3.938 kB / 1.604 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/4.5, allocations: 35.75 kB / 1.604 GB, free: 86.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/4.5, allocations: 19.28 kB / 1.604 GB, free: 86.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/4.501, allocations: 0.8959 MB / 1.605 GB, free: 86.04 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005684/4.507, allocations: 3.887 MB / 1.609 GB, free: 82.69 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/4.509, allocations: 0.8802 MB / 1.609 GB, free: 82.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.169e-05/4.509, allocations: 14.33 kB / 1.609 GB, free: 82.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/4.509, allocations: 46.53 kB / 1.609 GB, free: 82.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 4.529e-06/4.509, allocations: 0 / 1.609 GB, free: 82.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.01082/4.52, allocations: 3.357 MB / 1.613 GB, free: 80.14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/4.52, allocations: 112.9 kB / 1.613 GB, free: 80.01 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007927/4.521, allocations: 0.5784 MB / 1.613 GB, free: 79.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/4.521, allocations: 41.42 kB / 1.613 GB, free: 79.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/4.521, allocations: 370.2 kB / 1.614 GB, free: 79.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/4.521, allocations: 238.1 kB / 1.614 GB, free: 79.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/4.521, allocations: 12.22 kB / 1.614 GB, free: 79.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001529/4.521, allocations: 386.9 kB / 1.614 GB, free: 78.74 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007411/4.522, allocations: 389.1 kB / 1.615 GB, free: 78.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007969/4.523, allocations: 487.8 kB / 1.615 GB, free: 78.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008044/4.524, allocations: 434.7 kB / 1.616 GB, free: 78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/4.524, allocations: 4 kB / 1.616 GB, free: 78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003004/4.527, allocations: 1.364 MB / 1.617 GB, free: 76.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002898/4.527, allocations: 0.7977 MB / 1.618 GB, free: 75.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/4.527, allocations: 4 kB / 1.618 GB, free: 75.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004865/4.532, allocations: 0.9143 MB / 1.619 GB, free: 74.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/4.533, allocations: 119.9 kB / 1.619 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/4.535, allocations: 1.442 MB / 1.62 GB, free: 73.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/4.537, allocations: 115.8 kB / 1.62 GB, free: 73.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/4.537, allocations: 47.97 kB / 1.62 GB, free: 73.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/4.537, allocations: 4 kB / 1.62 GB, free: 73.09 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00245/4.539, allocations: 1.079 MB / 1.621 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/4.539, allocations: 4 kB / 1.621 GB, free: 72.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/4.541, allocations: 446.5 kB / 1.622 GB, free: 71.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/4.542, allocations: 175.8 kB / 1.622 GB, free: 71.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/4.543, allocations: 2.196 MB / 1.624 GB, free: 69.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/4.545, allocations: 116 kB / 1.624 GB, free: 69.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/4.545, allocations: 27.98 kB / 1.624 GB, free: 69 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 () * Number of clocked 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.0008632/4.545, allocations: 332.8 kB / 1.625 GB, free: 68.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/4.546, allocations: 91.06 kB / 1.625 GB, free: 68.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/4.548, allocations: 1.072 MB / 1.626 GB, free: 67.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/4.548, allocations: 11.95 kB / 1.626 GB, free: 67.47 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/4.548, allocations: 0 / 1.626 GB, free: 67.47 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/4.548, allocations: 3.984 kB / 1.626 GB, free: 67.47 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003678/4.552, allocations: 2.111 MB / 1.628 GB, free: 65.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/4.552, allocations: 0 / 1.628 GB, free: 65.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009275/4.553, allocations: 179.9 kB / 1.628 GB, free: 65.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002392/4.555, allocations: 400.5 kB / 1.628 GB, free: 64.72 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.212e-05/4.555, allocations: 23.98 kB / 1.628 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/4.557, allocations: 2.789 MB / 1.631 GB, free: 61.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/4.557, allocations: 0 / 1.631 GB, free: 61.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002931/4.56, allocations: 1.56 MB / 1.633 GB, free: 60.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004615/4.561, allocations: 156.2 kB / 1.633 GB, free: 59.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/4.561, allocations: 16 kB / 1.633 GB, free: 59.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/4.562, allocations: 115.7 kB / 1.633 GB, free: 59.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/4.562, allocations: 44.5 kB / 1.633 GB, free: 59.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.031e-05/4.562, allocations: 47.95 kB / 1.633 GB, free: 59.72 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005789/4.563, allocations: 471 kB / 1.633 GB, free: 59.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.61e-07/4.563, allocations: 0 / 1.633 GB, free: 59.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002265/4.565, allocations: 0.6013 MB / 1.634 GB, free: 58.66 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 () * Number of clocked 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.002467/4.568, allocations: 1.026 MB / 1.635 GB, free: 57.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003743/4.571, allocations: 1.563 MB / 1.637 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/4.571, allocations: 0.6562 kB / 1.637 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/4.573, allocations: 0.6039 MB / 1.637 GB, free: 55.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/4.575, allocations: 459.3 kB / 1.638 GB, free: 55.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/4.579, allocations: 2.18 MB / 1.64 GB, free: 52.97 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/4.579, allocations: 1.014 MB / 1.641 GB, free: 51.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009692/4.58, allocations: 185.8 kB / 1.641 GB, free: 51.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/4.58, allocations: 67.42 kB / 1.641 GB, free: 51.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.373e-06/4.58, allocations: 0 / 1.641 GB, free: 51.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.05298/4.633, allocations: 36.08 MB / 1.676 GB, free: 15.69 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)