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.001359/0.001359, allocations: 106.6 kB / 17.59 MB, free: 5.449 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.001565/0.001566, allocations: 191.3 kB / 18.52 MB, free: 4.527 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.341/1.341, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2593/0.2593, allocations: 48.84 MB / 320.6 MB, free: 11.09 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.001569/0.001569, allocations: 67.39 kB / 390.7 MB, free: 48.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08167/0.08326, allocations: 59.17 MB / 449.9 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.3741/0.4574, allocations: 198.1 MB / 0.6328 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004034/0.4615, allocations: 2.22 MB / 0.6349 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006773/0.4622, allocations: 19.88 kB / 0.635 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.4636, allocations: 485.1 kB / 0.6354 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.4651, allocations: 0.6759 MB / 0.6361 GB, free: 11.94 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002812/0.4679, allocations: 1.17 MB / 0.6372 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002413/0.4703, allocations: 2.119 MB / 0.6393 GB, free: 8.645 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.4716, allocations: 0.7091 MB / 0.64 GB, free: 7.922 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.473, allocations: 0.7865 MB / 0.6408 GB, free: 7.133 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.4741, allocations: 0.7123 MB / 0.6414 GB, free: 6.418 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002816/0.4744, allocations: 104 kB / 0.6415 GB, free: 6.316 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.4765, allocations: 0.8692 MB / 0.6424 GB, free: 5.445 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004853/0.477, allocations: 466.9 kB / 0.6428 GB, free: 4.988 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000892/0.4779, allocations: 0.6109 MB / 0.6434 GB, free: 4.375 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.4801, allocations: 1.679 MB / 0.6451 GB, free: 2.691 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4801, allocations: 0 / 0.6451 GB, free: 2.691 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4801, allocations: 0 / 0.6451 GB, free: 2.691 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.201e-05/0.4801, allocations: 0 / 0.6451 GB, free: 2.691 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.002653/0.4828, allocations: 1.33 MB / 0.6464 GB, free: 1.312 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4828, allocations: 15.89 kB / 0.6464 GB, free: 1.297 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009359/0.4838, allocations: 178.7 kB / 0.6466 GB, free: 1.121 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008619/0.4847, allocations: 0.5624 MB / 0.6471 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.04e-05/0.4847, allocations: 66 kB / 0.6472 GB, free: 460 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.4849, allocations: 80 kB / 0.6472 GB, free: 380 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.4868, allocations: 1.06 MB / 0.6483 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.4868, allocations: 0 / 0.6483 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.4869, allocations: 40 kB / 0.6483 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.487, allocations: 23.94 kB / 0.6483 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.4887, allocations: 0.8822 MB / 0.6492 GB, free: 14.35 MB / 478.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.005906/0.4947, allocations: 3.947 MB / 0.6531 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.4964, allocations: 0.8072 MB / 0.6539 GB, free: 9.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006783/0.4971, allocations: 342.4 kB / 0.6542 GB, free: 8.844 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.303e-05/0.4972, allocations: 20.48 kB / 0.6542 GB, free: 8.824 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.4972, allocations: 47.12 kB / 0.6542 GB, free: 8.766 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 3.136e-06/0.4972, allocations: 0 / 0.6542 GB, free: 8.766 MB / 478.1 MB Notification: Performance of matching and sorting (n=67): time 0.01088/0.5081, allocations: 3.229 MB / 0.6574 GB, free: 5.426 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.5082, allocations: 111.4 kB / 0.6575 GB, free: 5.293 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007474/0.509, allocations: 0.6562 MB / 0.6581 GB, free: 4.625 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.5091, allocations: 45.7 kB / 0.6582 GB, free: 4.574 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.5093, allocations: 372.1 kB / 0.6585 GB, free: 4.207 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.5095, allocations: 236.6 kB / 0.6588 GB, free: 3.973 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/0.5098, allocations: 142.6 kB / 0.6589 GB, free: 3.828 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.5099, allocations: 378.8 kB / 0.6593 GB, free: 3.449 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007858/0.5107, allocations: 376.6 kB / 0.6596 GB, free: 3.078 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008292/0.5115, allocations: 468.2 kB / 0.6601 GB, free: 2.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.5131, allocations: 0.7789 MB / 0.6608 GB, free: 1.781 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5131, allocations: 0 / 0.6608 GB, free: 1.781 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003022/0.5161, allocations: 1.313 MB / 0.6621 GB, free: 468 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.5161, allocations: 11.94 kB / 0.6621 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5162, allocations: 4.125 kB / 0.6621 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004954/0.5211, allocations: 0.9845 MB / 0.6631 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/0.5217, allocations: 115.8 kB / 0.6632 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.5241, allocations: 1.422 MB / 0.6646 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007164/0.5249, allocations: 47.95 kB / 0.6646 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-05/0.525, allocations: 39.98 kB / 0.6647 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009403/0.5259, allocations: 0.5096 MB / 0.6652 GB, free: 13.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007552/0.5267, allocations: 454.4 kB / 0.6656 GB, free: 12.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001338/0.528, allocations: 0.7498 MB / 0.6663 GB, free: 12.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.228e-06/0.528, allocations: 3.938 kB / 0.6663 GB, free: 12.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002638/0.5307, allocations: 1.149 MB / 0.6675 GB, free: 10.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.5307, allocations: 4 kB / 0.6675 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5307, allocations: 4 kB / 0.6675 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/0.5324, allocations: 448.6 kB / 0.6679 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/0.5331, allocations: 167.8 kB / 0.6681 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.535, allocations: 2.178 MB / 0.6702 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006904/0.5357, allocations: 56.12 kB / 0.6702 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.704e-05/0.5358, allocations: 43.91 kB / 0.6703 GB, free: 7.898 MB / 494.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.000295/0.5361, allocations: 220.6 kB / 0.6705 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.5363, allocations: 83.06 kB / 0.6706 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/0.5387, allocations: 1.029 MB / 0.6716 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.5387, allocations: 8 kB / 0.6716 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.5387, allocations: 3.938 kB / 0.6716 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.5387, allocations: 3.984 kB / 0.6716 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003588/0.5423, allocations: 2.072 MB / 0.6736 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.5423, allocations: 0 / 0.6736 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009204/0.5433, allocations: 167.8 kB / 0.6738 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002527/0.5458, allocations: 425.3 kB / 0.6742 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-05/0.5459, allocations: 27.98 kB / 0.6742 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/0.5483, allocations: 2.879 MB / 0.677 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5483, allocations: 0 / 0.677 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/0.5511, allocations: 1.457 MB / 0.6784 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.5514, allocations: 160.1 kB / 0.6786 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.5516, allocations: 24 kB / 0.6786 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007805/0.5523, allocations: 55.94 kB / 0.6787 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.5525, allocations: 68.41 kB / 0.6787 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.992e-05/0.5526, allocations: 43.97 kB / 0.6788 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005531/0.5531, allocations: 467 kB / 0.6792 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.11e-07/0.5532, allocations: 0 / 0.6792 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001329/0.5545, allocations: 0.5116 MB / 0.6797 GB, free: 13.86 MB / 0.4981 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.001063/0.5556, allocations: 419.3 kB / 0.6801 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003998/0.5596, allocations: 1.572 MB / 0.6817 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.5596, allocations: 4.656 kB / 0.6817 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.5608, allocations: 0.5881 MB / 0.6822 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.5631, allocations: 492.4 kB / 0.6827 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.5661, allocations: 1.879 MB / 0.6845 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/0.5666, allocations: 0.9989 MB / 0.6855 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.5668, allocations: 67.42 kB / 0.6856 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of SimCode: time 6.02e-07/0.5669, allocations: 0 / 0.6856 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.03867/0.6055, allocations: 22.12 MB / 0.7072 GB, free: 1.613 MB / 0.5137 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)