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.001522/0.001522, allocations: 104.4 kB / 16.92 MB, free: 6.188 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.001698/0.001698, allocations: 191.4 kB / 17.85 MB, free: 5.289 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.427/1.427, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2793/0.2793, allocations: 48.84 MB / 319.9 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.001658/0.001658, allocations: 69.28 kB / 390.1 MB, free: 48.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09897/0.1006, allocations: 59.16 MB / 449.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.4337/0.5344, allocations: 198 MB / 0.6321 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004412/0.5388, allocations: 2.224 MB / 0.6343 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006621/0.5395, allocations: 15.88 kB / 0.6343 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.5409, allocations: 489 kB / 0.6348 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.5423, allocations: 0.6759 MB / 0.6354 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002988/0.5453, allocations: 1.169 MB / 0.6366 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002553/0.5478, allocations: 2.115 MB / 0.6386 GB, free: 8.492 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.5489, allocations: 0.7168 MB / 0.6393 GB, free: 7.762 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.5502, allocations: 0.7865 MB / 0.6401 GB, free: 6.973 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008428/0.551, allocations: 0.7045 MB / 0.6408 GB, free: 6.266 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.5512, allocations: 111.9 kB / 0.6409 GB, free: 6.156 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.5532, allocations: 0.8731 MB / 0.6417 GB, free: 5.281 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004927/0.5537, allocations: 458.9 kB / 0.6422 GB, free: 4.832 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007604/0.5544, allocations: 0.6109 MB / 0.6428 GB, free: 4.219 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.5565, allocations: 1.675 MB / 0.6444 GB, free: 2.539 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.5565, allocations: 3.938 kB / 0.6444 GB, free: 2.535 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5566, allocations: 0 / 0.6444 GB, free: 2.535 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.5566, allocations: 0 / 0.6444 GB, free: 2.535 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.00249/0.5591, allocations: 1.334 MB / 0.6457 GB, free: 1.152 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.5591, allocations: 15.89 kB / 0.6457 GB, free: 1.137 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008684/0.56, allocations: 186.7 kB / 0.6459 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008473/0.5609, allocations: 0.5507 MB / 0.6465 GB, free: 368 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.655e-05/0.5609, allocations: 66 kB / 0.6465 GB, free: 300 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.5611, allocations: 80 kB / 0.6466 GB, free: 220 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.5629, allocations: 1.062 MB / 0.6476 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.5629, allocations: 4 kB / 0.6476 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.97e-05/0.563, allocations: 36 kB / 0.6477 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.563, allocations: 23.94 kB / 0.6477 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.5647, allocations: 0.886 MB / 0.6486 GB, free: 14.19 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.00572/0.5705, allocations: 3.944 MB / 0.6524 GB, free: 9.875 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.5724, allocations: 0.8111 MB / 0.6532 GB, free: 9.02 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007038/0.5731, allocations: 342.4 kB / 0.6535 GB, free: 8.684 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.894e-05/0.5732, allocations: 20.53 kB / 0.6535 GB, free: 8.664 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.5732, allocations: 47.12 kB / 0.6536 GB, free: 8.605 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 3.837e-06/0.5732, allocations: 0 / 0.6536 GB, free: 8.605 MB / 478.1 MB Notification: Performance of matching and sorting (n=67): time 0.01062/0.5838, allocations: 3.232 MB / 0.6567 GB, free: 5.262 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.5839, allocations: 115.4 kB / 0.6569 GB, free: 5.125 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007814/0.5847, allocations: 0.6523 MB / 0.6575 GB, free: 4.461 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.078e-05/0.5848, allocations: 45.7 kB / 0.6575 GB, free: 4.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.5851, allocations: 372.1 kB / 0.6579 GB, free: 4.043 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.5853, allocations: 236.6 kB / 0.6581 GB, free: 3.809 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/0.5856, allocations: 138.7 kB / 0.6582 GB, free: 3.668 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5857, allocations: 382.8 kB / 0.6586 GB, free: 3.285 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007866/0.5865, allocations: 372.6 kB / 0.659 GB, free: 2.918 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008309/0.5874, allocations: 464.2 kB / 0.6594 GB, free: 2.434 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.5889, allocations: 0.7789 MB / 0.6602 GB, free: 1.625 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5889, allocations: 4 kB / 0.6602 GB, free: 1.621 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002998/0.5919, allocations: 1.313 MB / 0.6615 GB, free: 304 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.5919, allocations: 15.97 kB / 0.6615 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.592, allocations: 0 / 0.6615 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004885/0.5968, allocations: 0.9878 MB / 0.6624 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005094/0.5974, allocations: 111.8 kB / 0.6625 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002504/0.5999, allocations: 1.421 MB / 0.6639 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007518/0.6007, allocations: 55.94 kB / 0.664 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.429e-05/0.6008, allocations: 35.98 kB / 0.664 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000987/0.6017, allocations: 0.5057 MB / 0.6645 GB, free: 13.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007608/0.6025, allocations: 454.4 kB / 0.6649 GB, free: 12.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001363/0.6039, allocations: 0.7487 MB / 0.6657 GB, free: 11.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.959e-06/0.6039, allocations: 11.86 kB / 0.6657 GB, free: 11.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002591/0.6065, allocations: 1.145 MB / 0.6668 GB, free: 10.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.6065, allocations: 4 kB / 0.6668 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6065, allocations: 8.109 kB / 0.6668 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/0.6082, allocations: 444.5 kB / 0.6672 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007105/0.6089, allocations: 167.8 kB / 0.6674 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.6109, allocations: 2.185 MB / 0.6695 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006571/0.6116, allocations: 52.14 kB / 0.6696 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/0.6116, allocations: 39.92 kB / 0.6696 GB, free: 7.734 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.0002933/0.6119, allocations: 220.6 kB / 0.6698 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.6121, allocations: 83.06 kB / 0.6699 GB, free: 7.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/0.6145, allocations: 1.033 MB / 0.6709 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.6145, allocations: 12.03 kB / 0.6709 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.6145, allocations: 3.938 kB / 0.6709 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.6146, allocations: 3.984 kB / 0.6709 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003556/0.6181, allocations: 2.072 MB / 0.673 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.6181, allocations: 0 / 0.673 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009064/0.6191, allocations: 163.8 kB / 0.6731 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002403/0.6215, allocations: 425.4 kB / 0.6735 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.73e-05/0.6215, allocations: 19.98 kB / 0.6735 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/0.6238, allocations: 2.876 MB / 0.6764 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6239, allocations: 4.031 kB / 0.6764 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.6267, allocations: 1.45 MB / 0.6778 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000258/0.6269, allocations: 160.1 kB / 0.6779 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.6271, allocations: 23.92 kB / 0.678 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008694/0.628, allocations: 55.94 kB / 0.678 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.6281, allocations: 64.42 kB / 0.6781 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-05/0.6282, allocations: 48.08 kB / 0.6781 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005787/0.6288, allocations: 467 kB / 0.6786 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6288, allocations: 0 / 0.6786 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001493/0.6303, allocations: 0.5116 MB / 0.6791 GB, free: 13.71 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.001105/0.6314, allocations: 423.3 kB / 0.6795 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004216/0.6357, allocations: 1.572 MB / 0.681 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.6357, allocations: 4.656 kB / 0.681 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.6369, allocations: 0.5919 MB / 0.6816 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/0.6394, allocations: 495.5 kB / 0.6821 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.6424, allocations: 1.818 MB / 0.6838 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.6429, allocations: 0.9988 MB / 0.6848 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007948/0.6437, allocations: 182.1 kB / 0.685 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.6439, allocations: 67.42 kB / 0.685 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.6439, allocations: 0 / 0.685 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of Templates: time 0.0398/0.6837, allocations: 28.11 MB / 0.7125 GB, free: 11.34 MB / 0.5294 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)