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.001402/0.001402, allocations: 112.7 kB / 17.68 MB, free: 5.473 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.001221/0.001221, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.441/1.441, allocations: 205.1 MB / 224.5 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.2952/0.2952, allocations: 48.83 MB / 320.7 MB, free: 11.04 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.001519/0.001519, allocations: 72.7 kB / 391.5 MB, free: 48.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1319, allocations: 59.16 MB / 450.7 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.5101/0.6421, allocations: 198 MB / 0.6335 GB, free: 14.54 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004347/0.6465, allocations: 2.22 MB / 0.6357 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006949/0.6472, allocations: 19.88 kB / 0.6357 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.6487, allocations: 489.1 kB / 0.6362 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.6504, allocations: 0.672 MB / 0.6368 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003281/0.6537, allocations: 1.171 MB / 0.638 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002616/0.6563, allocations: 2.119 MB / 0.64 GB, free: 8.191 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.6575, allocations: 0.7137 MB / 0.6407 GB, free: 7.465 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.6588, allocations: 0.7942 MB / 0.6415 GB, free: 6.668 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008018/0.6596, allocations: 0.7084 MB / 0.6422 GB, free: 5.957 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.6597, allocations: 104 kB / 0.6423 GB, free: 5.855 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.6615, allocations: 0.8107 MB / 0.6431 GB, free: 5.043 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004442/0.6619, allocations: 462.9 kB / 0.6435 GB, free: 4.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006507/0.6626, allocations: 0.6147 MB / 0.6441 GB, free: 3.973 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.6647, allocations: 1.687 MB / 0.6458 GB, free: 2.281 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.6648, allocations: 0 / 0.6458 GB, free: 2.281 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6648, allocations: 0 / 0.6458 GB, free: 2.281 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.6648, allocations: 0 / 0.6458 GB, free: 2.281 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.0027/0.6675, allocations: 1.33 MB / 0.6471 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.6676, allocations: 15.89 kB / 0.6471 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008978/0.6685, allocations: 187.7 kB / 0.6473 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000991/0.6695, allocations: 0.5663 MB / 0.6478 GB, free: 96 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.802e-05/0.6695, allocations: 62 kB / 0.6479 GB, free: 32 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.6697, allocations: 84.05 kB / 0.648 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.6717, allocations: 1.064 MB / 0.649 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.6718, allocations: 0 / 0.649 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.6719, allocations: 43.94 kB / 0.6491 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.6719, allocations: 20 kB / 0.6491 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.6736, allocations: 0.8861 MB / 0.6499 GB, free: 13.92 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.005948/0.6796, allocations: 3.905 MB / 0.6537 GB, free: 9.645 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.6812, allocations: 0.8033 MB / 0.6545 GB, free: 8.797 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006326/0.6819, allocations: 346.2 kB / 0.6549 GB, free: 8.457 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-05/0.6819, allocations: 20.53 kB / 0.6549 GB, free: 8.438 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.682, allocations: 45.38 kB / 0.6549 GB, free: 8.383 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 2.594e-06/0.682, allocations: 4 kB / 0.6549 GB, free: 8.379 MB / 478.1 MB Notification: Performance of matching and sorting (n=67): time 0.009896/0.6919, allocations: 3.194 MB / 0.658 GB, free: 5.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.692, allocations: 107.4 kB / 0.6582 GB, free: 4.941 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008199/0.6928, allocations: 0.6562 MB / 0.6588 GB, free: 4.273 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.561e-05/0.6929, allocations: 41.7 kB / 0.6588 GB, free: 4.227 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.6932, allocations: 376 kB / 0.6592 GB, free: 3.855 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/0.6934, allocations: 232.6 kB / 0.6594 GB, free: 3.625 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.6937, allocations: 146.6 kB / 0.6596 GB, free: 3.477 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.6939, allocations: 382.8 kB / 0.6599 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007682/0.6947, allocations: 360.6 kB / 0.6603 GB, free: 2.738 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008339/0.6955, allocations: 472.2 kB / 0.6607 GB, free: 2.246 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.6971, allocations: 0.7867 MB / 0.6615 GB, free: 1.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6971, allocations: 0 / 0.6615 GB, free: 1.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002976/0.7001, allocations: 1.317 MB / 0.6628 GB, free: 104 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.7001, allocations: 7.938 kB / 0.6628 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.7001, allocations: 4 kB / 0.6628 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004938/0.705, allocations: 0.9818 MB / 0.6637 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/0.7056, allocations: 115.7 kB / 0.6638 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.7081, allocations: 1.428 MB / 0.6652 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007105/0.7088, allocations: 51.94 kB / 0.6653 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-05/0.7089, allocations: 31.98 kB / 0.6653 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009528/0.7098, allocations: 0.5096 MB / 0.6658 GB, free: 12.94 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000739/0.7106, allocations: 450.4 kB / 0.6662 GB, free: 12.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001305/0.7119, allocations: 0.7456 MB / 0.667 GB, free: 11.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.302e-06/0.7119, allocations: 7.938 kB / 0.667 GB, free: 11.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002616/0.7145, allocations: 1.153 MB / 0.6681 GB, free: 10.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.7146, allocations: 8 kB / 0.6681 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.7146, allocations: 0.9375 kB / 0.6681 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/0.7162, allocations: 441.7 kB / 0.6685 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007016/0.717, allocations: 159.8 kB / 0.6687 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.719, allocations: 2.19 MB / 0.6708 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006867/0.7197, allocations: 47.95 kB / 0.6709 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/0.7198, allocations: 39.91 kB / 0.6709 GB, free: 7.562 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.0003613/0.7202, allocations: 228.8 kB / 0.6711 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.7203, allocations: 83.06 kB / 0.6712 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.7226, allocations: 1.033 MB / 0.6722 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.7227, allocations: 8 kB / 0.6722 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.7227, allocations: 4.125 kB / 0.6722 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.7227, allocations: 7.984 kB / 0.6722 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003534/0.7262, allocations: 2.064 MB / 0.6743 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.7262, allocations: 4 kB / 0.6743 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009155/0.7272, allocations: 163.9 kB / 0.6744 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002376/0.7296, allocations: 429.3 kB / 0.6748 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.91e-05/0.7296, allocations: 23.98 kB / 0.6748 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002596/0.7322, allocations: 2.873 MB / 0.6777 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7323, allocations: 0 / 0.6777 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002951/0.7352, allocations: 1.463 MB / 0.6791 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.7355, allocations: 156.1 kB / 0.6792 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.7357, allocations: 16 kB / 0.6792 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007932/0.7365, allocations: 63.92 kB / 0.6793 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.7366, allocations: 64.42 kB / 0.6794 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.683e-05/0.7367, allocations: 43.95 kB / 0.6794 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000748/0.7375, allocations: 467 kB / 0.6799 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7375, allocations: 0 / 0.6799 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001551/0.7391, allocations: 0.5116 MB / 0.6804 GB, free: 13.53 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.001034/0.7401, allocations: 407.5 kB / 0.6807 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003888/0.744, allocations: 1.529 MB / 0.6822 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/0.744, allocations: 4.656 kB / 0.6822 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.7454, allocations: 0.5996 MB / 0.6828 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.7478, allocations: 486.4 kB / 0.6833 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.751, allocations: 1.81 MB / 0.6851 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/0.7517, allocations: 0.9911 MB / 0.686 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007693/0.7524, allocations: 182.1 kB / 0.6862 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.7526, allocations: 63.42 kB / 0.6863 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/0.7526, allocations: 0 / 0.6863 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of Templates: time 0.04995/0.8026, allocations: 28.58 MB / 0.7142 GB, free: 10.76 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 -s cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe 2>&1)