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.0007893/0.0007893, allocations: 90.61 kB / 16.65 MB, free: 6.59 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.0008167/0.0008167, allocations: 180.4 kB / 17.56 MB, free: 6.203 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.483/1.483, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2783/0.2783, allocations: 48.78 MB / 320.8 MB, free: 11.12 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.0008022/0.0008022, allocations: 18.06 kB / 391.8 MB, free: 50.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1054, allocations: 60.26 MB / 452.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.4203/0.5258, allocations: 193.9 MB / 0.6308 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004942/0.5308, allocations: 2.257 MB / 0.633 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.5319, allocations: 15.88 kB / 0.633 GB, free: 4.203 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.5337, allocations: 426.7 kB / 0.6335 GB, free: 3.867 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002394/0.5361, allocations: 0.6471 MB / 0.6341 GB, free: 3.332 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003603/0.5398, allocations: 1.072 MB / 0.6351 GB, free: 2.547 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003567/0.5433, allocations: 2.971 MB / 0.638 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.5446, allocations: 0.6041 MB / 0.6386 GB, free: 104 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.5462, allocations: 0.6849 MB / 0.6393 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.5475, allocations: 0.7434 MB / 0.64 GB, free: 14.67 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002904/0.5478, allocations: 52 kB / 0.6401 GB, free: 14.62 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.5504, allocations: 1.072 MB / 0.6411 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005867/0.551, allocations: 418.8 kB / 0.6415 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.5522, allocations: 0.5696 MB / 0.6421 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002733/0.555, allocations: 1.69 MB / 0.6437 GB, free: 10.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.555, allocations: 0 / 0.6437 GB, free: 10.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.555, allocations: 0 / 0.6437 GB, free: 10.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.853e-05/0.5551, allocations: 0 / 0.6437 GB, free: 10.86 MB / 462.1 MB 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.002772/0.5578, allocations: 1.143 MB / 0.6448 GB, free: 9.668 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.5579, allocations: 12.03 kB / 0.6448 GB, free: 9.656 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.559, allocations: 178.7 kB / 0.645 GB, free: 9.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.56, allocations: 0.5586 MB / 0.6456 GB, free: 8.883 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-05/0.5601, allocations: 62 kB / 0.6456 GB, free: 8.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.5603, allocations: 87.89 kB / 0.6457 GB, free: 8.734 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.5625, allocations: 1.087 MB / 0.6468 GB, free: 7.633 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.5625, allocations: 0 / 0.6468 GB, free: 7.633 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.5626, allocations: 32.81 kB / 0.6468 GB, free: 7.602 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.5627, allocations: 20 kB / 0.6468 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.5646, allocations: 0.9213 MB / 0.6477 GB, free: 6.66 MB / 462.1 MB 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.006413/0.571, allocations: 3.959 MB / 0.6516 GB, free: 2.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.5729, allocations: 0.8658 MB / 0.6524 GB, free: 1.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007424/0.5737, allocations: 364.6 kB / 0.6528 GB, free: 1.051 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-05/0.5738, allocations: 16.55 kB / 0.6528 GB, free: 1.035 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.5738, allocations: 47.12 kB / 0.6528 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of pre-optimization done (n=61): time 2.034e-06/0.5738, allocations: 0 / 0.6528 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of matching and sorting (n=67): time 0.01147/0.5853, allocations: 3.375 MB / 0.6561 GB, free: 13.49 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.18e-05/0.5854, allocations: 111.4 kB / 0.6562 GB, free: 13.36 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009257/0.5863, allocations: 0.6524 MB / 0.6569 GB, free: 12.69 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.5865, allocations: 41.7 kB / 0.6569 GB, free: 12.64 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/0.5868, allocations: 376.2 kB / 0.6573 GB, free: 12.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000223/0.587, allocations: 232.6 kB / 0.6575 GB, free: 12.04 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.5872, allocations: 65.69 kB / 0.6576 GB, free: 11.97 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.5874, allocations: 382.8 kB / 0.6579 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008586/0.5882, allocations: 381.8 kB / 0.6583 GB, free: 11.22 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009453/0.5892, allocations: 492.1 kB / 0.6588 GB, free: 10.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.5909, allocations: 0.818 MB / 0.6596 GB, free: 9.855 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.5909, allocations: 3.984 kB / 0.6596 GB, free: 9.852 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003835/0.5948, allocations: 1.368 MB / 0.6609 GB, free: 8.477 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002318/0.595, allocations: 151.9 kB / 0.661 GB, free: 8.293 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.5951, allocations: 4 kB / 0.661 GB, free: 8.289 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0056/0.6007, allocations: 0.9916 MB / 0.662 GB, free: 7.293 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/0.6013, allocations: 123.8 kB / 0.6621 GB, free: 7.172 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/0.604, allocations: 1.444 MB / 0.6635 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009761/0.605, allocations: 119.8 kB / 0.6637 GB, free: 5.586 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.6051, allocations: 31.98 kB / 0.6637 GB, free: 5.555 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.6052, allocations: 4 kB / 0.6637 GB, free: 5.551 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003204/0.6084, allocations: 1.172 MB / 0.6648 GB, free: 4.379 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.6084, allocations: 4.125 kB / 0.6648 GB, free: 4.375 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/0.6104, allocations: 440.4 kB / 0.6653 GB, free: 3.941 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008974/0.6113, allocations: 171.8 kB / 0.6654 GB, free: 3.773 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/0.6134, allocations: 2.193 MB / 0.6676 GB, free: 1.508 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009891/0.6144, allocations: 112 kB / 0.6677 GB, free: 1.398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.6145, allocations: 32 kB / 0.6677 GB, free: 1.367 MB / 478.1 MB 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.0007862/0.6153, allocations: 328.9 kB / 0.668 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003029/0.6157, allocations: 79.06 kB / 0.6681 GB, free: 0.957 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/0.6184, allocations: 1.076 MB / 0.6691 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.6184, allocations: 11.94 kB / 0.6692 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.6184, allocations: 0 / 0.6692 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.6184, allocations: 3.984 kB / 0.6692 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004205/0.6226, allocations: 2.111 MB / 0.6712 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.6227, allocations: 3.984 kB / 0.6712 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009798/0.6237, allocations: 163.8 kB / 0.6714 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002768/0.6264, allocations: 457.3 kB / 0.6718 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.359e-05/0.6265, allocations: 27.92 kB / 0.6718 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002582/0.6291, allocations: 2.789 MB / 0.6746 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.6292, allocations: 8.125 kB / 0.6746 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/0.6323, allocations: 1.516 MB / 0.6761 GB, free: 8.461 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.6326, allocations: 156.2 kB / 0.6762 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.6327, allocations: 23.92 kB / 0.6762 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.6338, allocations: 107.8 kB / 0.6763 GB, free: 8.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.634, allocations: 64.41 kB / 0.6764 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.6341, allocations: 43.95 kB / 0.6764 GB, free: 8.055 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000662/0.6348, allocations: 467 kB / 0.6769 GB, free: 7.602 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6348, allocations: 0 / 0.6769 GB, free: 7.602 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001881/0.6367, allocations: 0.5116 MB / 0.6774 GB, free: 7.09 MB / 494.1 MB 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.001253/0.638, allocations: 411.7 kB / 0.6778 GB, free: 6.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004326/0.6423, allocations: 1.562 MB / 0.6793 GB, free: 5.117 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.6423, allocations: 0.6562 kB / 0.6793 GB, free: 5.117 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.6437, allocations: 0.6115 MB / 0.6799 GB, free: 4.492 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002838/0.6465, allocations: 486.2 kB / 0.6804 GB, free: 4.023 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.6499, allocations: 2.267 MB / 0.6826 GB, free: 1.715 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007213/0.6506, allocations: 0.9989 MB / 0.6835 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008815/0.6515, allocations: 178.1 kB / 0.6837 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.6517, allocations: 63.42 kB / 0.6838 GB, free: 456 kB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6517, allocations: 0 / 0.6838 GB, free: 456 kB / 494.1 MB Notification: Performance of Templates: time 0.04227/0.694, allocations: 26.46 MB / 0.7096 GB, free: 5.941 MB / 0.5137 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: