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.00151/0.00151, allocations: 176.4 kB / 17.4 MB, free: 4.426 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.4 MB / 223.5 MB, free: 9.035 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.000939/0.0009393, allocations: 98.77 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5363/0.5363, allocations: 48.78 MB / 369 MB, free: 47.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004094, allocations: 12 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1529, allocations: 60.25 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.003/2.156, allocations: 0.7199 GB / 1.208 GB, free: 88.74 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000362/2.157, allocations: 88.44 kB / 1.208 GB, free: 88.66 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.556/3.713, allocations: 403.2 MB / 1.602 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.565e-06/3.713, allocations: 0 / 1.602 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001065/3.713, allocations: 27.27 kB / 1.602 GB, free: 86.85 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.004252/3.717, allocations: 1.131 MB / 1.603 GB, free: 86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.276e-05/3.717, allocations: 14.62 kB / 1.603 GB, free: 86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/3.719, allocations: 165.1 kB / 1.603 GB, free: 85.92 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/3.721, allocations: 0.6381 MB / 1.604 GB, free: 85.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.603e-05/3.721, allocations: 60.69 kB / 1.604 GB, free: 85.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003142/3.721, allocations: 81.69 kB / 1.604 GB, free: 85.35 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/3.724, allocations: 1.073 MB / 1.605 GB, free: 84.72 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/3.724, allocations: 192 / 1.605 GB, free: 84.72 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/3.724, allocations: 42.03 kB / 1.605 GB, free: 84.69 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/3.724, allocations: 19.5 kB / 1.605 GB, free: 84.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/3.726, allocations: 0.8956 MB / 1.606 GB, free: 84.28 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.006418/3.732, allocations: 3.894 MB / 1.61 GB, free: 80.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/3.734, allocations: 0.8654 MB / 1.611 GB, free: 79.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006494/3.735, allocations: 354.4 kB / 1.611 GB, free: 79.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-05/3.735, allocations: 24.47 kB / 1.611 GB, free: 79.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/3.735, allocations: 43.12 kB / 1.611 GB, free: 79.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 5.771e-06/3.735, allocations: 4 kB / 1.611 GB, free: 79.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.0105/3.745, allocations: 3.374 MB / 1.614 GB, free: 75.85 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/3.746, allocations: 107.4 kB / 1.615 GB, free: 75.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/3.747, allocations: 0.6562 MB / 1.615 GB, free: 75.06 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001635/3.747, allocations: 37.7 kB / 1.615 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/3.747, allocations: 372.2 kB / 1.616 GB, free: 74.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/3.747, allocations: 240.5 kB / 1.616 GB, free: 74.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/3.747, allocations: 16 kB / 1.616 GB, free: 74.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002153/3.748, allocations: 382.7 kB / 1.616 GB, free: 74.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007668/3.748, allocations: 389.8 kB / 1.617 GB, free: 73.63 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008164/3.749, allocations: 492.2 kB / 1.617 GB, free: 73.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/3.751, allocations: 0.8336 MB / 1.618 GB, free: 72.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/3.751, allocations: 3.938 kB / 1.618 GB, free: 72.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00313/3.754, allocations: 1.364 MB / 1.619 GB, free: 70.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/3.754, allocations: 155.8 kB / 1.619 GB, free: 70.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/3.754, allocations: 4 kB / 1.619 GB, free: 70.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004743/3.759, allocations: 0.9641 MB / 1.62 GB, free: 69.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/3.76, allocations: 119.9 kB / 1.62 GB, free: 69.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/3.762, allocations: 1.446 MB / 1.622 GB, free: 68.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/3.763, allocations: 115.7 kB / 1.622 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/3.763, allocations: 39.98 kB / 1.622 GB, free: 67.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/3.763, allocations: 4 kB / 1.622 GB, free: 67.97 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002468/3.766, allocations: 1.09 MB / 1.623 GB, free: 66.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/3.766, allocations: 0 / 1.623 GB, free: 66.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/3.767, allocations: 448.4 kB / 1.623 GB, free: 66.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006836/3.768, allocations: 171.8 kB / 1.624 GB, free: 66.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/3.77, allocations: 2.185 MB / 1.626 GB, free: 64.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/3.771, allocations: 116 kB / 1.626 GB, free: 63.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.348e-05/3.771, allocations: 35.98 kB / 1.626 GB, free: 63.87 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.0007477/3.772, allocations: 324.9 kB / 1.626 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002419/3.772, allocations: 83.09 kB / 1.626 GB, free: 63.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/3.774, allocations: 1.072 MB / 1.627 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/3.774, allocations: 8 kB / 1.627 GB, free: 62.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/3.774, allocations: 3.891 kB / 1.627 GB, free: 62.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/3.774, allocations: 7.984 kB / 1.627 GB, free: 62.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003983/3.778, allocations: 2.113 MB / 1.629 GB, free: 60.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/3.778, allocations: 0 / 1.629 GB, free: 60.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008373/3.779, allocations: 179.9 kB / 1.63 GB, free: 59.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00199/3.781, allocations: 402.9 kB / 1.63 GB, free: 59.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.395e-05/3.781, allocations: 23.98 kB / 1.63 GB, free: 59.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/3.783, allocations: 2.788 MB / 1.633 GB, free: 56.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/3.783, allocations: 160 / 1.633 GB, free: 56.58 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/3.786, allocations: 1.516 MB / 1.634 GB, free: 55.03 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004426/3.787, allocations: 156.2 kB / 1.634 GB, free: 54.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/3.787, allocations: 20 kB / 1.634 GB, free: 54.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/3.788, allocations: 103.8 kB / 1.634 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/3.788, allocations: 56.42 kB / 1.635 GB, free: 54.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/3.788, allocations: 47.95 kB / 1.635 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006182/3.789, allocations: 459 kB / 1.635 GB, free: 54.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.032e-06/3.789, allocations: 3.938 kB / 1.635 GB, free: 54.19 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002583/3.791, allocations: 0.6013 MB / 1.636 GB, free: 53.59 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.003026/3.795, allocations: 1.033 MB / 1.637 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004531/3.799, allocations: 1.567 MB / 1.638 GB, free: 51.01 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.821e-05/3.799, allocations: 4.594 kB / 1.638 GB, free: 51 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/3.801, allocations: 0.6036 MB / 1.639 GB, free: 50.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003663/3.804, allocations: 473.8 kB / 1.639 GB, free: 49.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/3.809, allocations: 2.174 MB / 1.641 GB, free: 47.74 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008177/3.81, allocations: 0.9989 MB / 1.642 GB, free: 46.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001243/3.811, allocations: 177.9 kB / 1.642 GB, free: 46.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/3.811, allocations: 67.42 kB / 1.643 GB, free: 46.47 MB / 0.5105 GB Notification: Performance of SimCode: time 1.162e-06/3.811, allocations: 0 / 1.643 GB, free: 46.47 MB / 0.5105 GB Notification: Performance of Templates: time 0.05108/3.862, allocations: 37.02 MB / 1.679 GB, free: 9.457 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)