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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 107.9 kB / 17.06 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 191 kB / 18 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2881/0.2881, allocations: 48.84 MB / 320.1 MB, free: 11.01 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 63.91 kB / 450.5 MB, free: 8.555 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1159, allocations: 59.16 MB / 0.4977 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.4603/0.5763, allocations: 198 MB / 0.6911 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005017/0.5814, allocations: 2.229 MB / 0.6933 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008687/0.5823, allocations: 15.88 kB / 0.6933 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.5839, allocations: 485.1 kB / 0.6938 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.5859, allocations: 0.672 MB / 0.6944 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003365/0.5893, allocations: 1.163 MB / 0.6956 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002877/0.5922, allocations: 2.124 MB / 0.6977 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.5936, allocations: 0.7168 MB / 0.6984 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.5952, allocations: 0.7942 MB / 0.6991 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.5967, allocations: 0.7085 MB / 0.6998 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003757/0.5971, allocations: 108 kB / 0.6999 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002323/0.5994, allocations: 0.8029 MB / 0.7007 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000665/0.6001, allocations: 470.9 kB / 0.7012 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.6012, allocations: 0.6109 MB / 0.7018 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002659/0.6038, allocations: 1.687 MB / 0.7034 GB, free: 7.508 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.6039, allocations: 0 / 0.7034 GB, free: 7.508 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6039, allocations: 0 / 0.7034 GB, free: 7.508 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.303e-05/0.6039, allocations: 0 / 0.7034 GB, free: 7.508 MB / 0.545 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.003138/0.6071, allocations: 1.363 MB / 0.7047 GB, free: 6.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.6071, allocations: 15.88 kB / 0.7048 GB, free: 6.074 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.6082, allocations: 187.2 kB / 0.7049 GB, free: 5.891 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.6092, allocations: 0.5745 MB / 0.7055 GB, free: 5.273 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.178e-05/0.6093, allocations: 66 kB / 0.7056 GB, free: 5.211 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.6095, allocations: 80 kB / 0.7056 GB, free: 5.133 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.6115, allocations: 1.064 MB / 0.7067 GB, free: 4.051 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.6116, allocations: 0 / 0.7067 GB, free: 4.051 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.6117, allocations: 36 kB / 0.7067 GB, free: 4.016 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.6117, allocations: 20 kB / 0.7067 GB, free: 3.996 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.6136, allocations: 0.8938 MB / 0.7076 GB, free: 3.105 MB / 0.545 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.006239/0.6199, allocations: 3.912 MB / 0.7114 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.6217, allocations: 0.8079 MB / 0.7122 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007396/0.6224, allocations: 354.2 kB / 0.7125 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.969e-05/0.6225, allocations: 16.48 kB / 0.7126 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.6226, allocations: 51.06 kB / 0.7126 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 3.477e-06/0.6226, allocations: 4 kB / 0.7126 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67): time 0.0108/0.6334, allocations: 3.198 MB / 0.7157 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/0.6335, allocations: 111.4 kB / 0.7158 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000928/0.6344, allocations: 0.6525 MB / 0.7165 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.6346, allocations: 45.7 kB / 0.7165 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000339/0.6349, allocations: 380.8 kB / 0.7169 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.6352, allocations: 245.9 kB / 0.7171 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002839/0.6355, allocations: 146.5 kB / 0.7173 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.6357, allocations: 386.8 kB / 0.7176 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008263/0.6365, allocations: 364.6 kB / 0.718 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008744/0.6374, allocations: 476.1 kB / 0.7184 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.639, allocations: 0.7828 MB / 0.7192 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.639, allocations: 0 / 0.7192 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003247/0.6423, allocations: 1.314 MB / 0.7205 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.6423, allocations: 11.84 kB / 0.7205 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.6423, allocations: 4 kB / 0.7205 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005019/0.6474, allocations: 0.9863 MB / 0.7215 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006389/0.648, allocations: 111.8 kB / 0.7216 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/0.6508, allocations: 1.436 MB / 0.723 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009362/0.6517, allocations: 43.95 kB / 0.723 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.6519, allocations: 31.98 kB / 0.723 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001101/0.653, allocations: 0.5096 MB / 0.7235 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008458/0.6539, allocations: 458.4 kB / 0.724 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001415/0.6553, allocations: 0.7448 MB / 0.7247 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.658e-06/0.6553, allocations: 3.938 kB / 0.7247 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002857/0.6582, allocations: 1.162 MB / 0.7258 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.6582, allocations: 4 kB / 0.7258 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.6582, allocations: 4 kB / 0.7258 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/0.6599, allocations: 437.4 kB / 0.7263 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007643/0.6607, allocations: 167.8 kB / 0.7264 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.6628, allocations: 2.189 MB / 0.7286 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000899/0.6637, allocations: 43.95 kB / 0.7286 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.6639, allocations: 40.14 kB / 0.7286 GB, free: 12.68 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0005969/0.6645, allocations: 228.2 kB / 0.7289 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004661/0.6649, allocations: 87.52 kB / 0.7289 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/0.6678, allocations: 1.037 MB / 0.73 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.6678, allocations: 8 kB / 0.73 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.6678, allocations: 3.938 kB / 0.73 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.6678, allocations: 3.984 kB / 0.73 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003929/0.6718, allocations: 2.065 MB / 0.732 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6718, allocations: 0 / 0.732 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009822/0.6728, allocations: 167.9 kB / 0.7321 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002511/0.6753, allocations: 425.3 kB / 0.7325 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.66e-05/0.6754, allocations: 23.98 kB / 0.7326 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002733/0.6781, allocations: 2.868 MB / 0.7354 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6782, allocations: 0 / 0.7354 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002949/0.6811, allocations: 1.471 MB / 0.7368 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002947/0.6814, allocations: 160.6 kB / 0.737 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.6816, allocations: 23.98 kB / 0.737 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008675/0.6825, allocations: 55.94 kB / 0.737 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.6826, allocations: 56.48 kB / 0.7371 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/0.6828, allocations: 47.95 kB / 0.7371 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005944/0.6834, allocations: 471 kB / 0.7376 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6834, allocations: 0 / 0.7376 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001485/0.6849, allocations: 0.5191 MB / 0.7381 GB, free: 2.637 MB / 0.5762 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/0.686, allocations: 415.4 kB / 0.7385 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003877/0.6899, allocations: 1.521 MB / 0.74 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.6899, allocations: 0.6562 kB / 0.74 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.6911, allocations: 0.5956 MB / 0.7406 GB, free: 100 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.6933, allocations: 494 kB / 0.741 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.6963, allocations: 1.835 MB / 0.7428 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/0.697, allocations: 0.995 MB / 0.7438 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007088/0.6977, allocations: 178.2 kB / 0.744 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.6979, allocations: 67.42 kB / 0.744 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.6979, allocations: 0 / 0.744 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of Templates: time 0.277/0.9749, allocations: 28.76 MB / 0.7721 GB, free: 214.8 MB / 0.5919 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)